Install ca-certificates package.

This commit is contained in:
Kavin 2022-10-23 17:56:19 +01:00
parent 0090bf8fc2
commit a8179b31b1
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ FROM rust:slim as BUILD
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && \
apt-get install -y --no-install-recommends \
build-essential pkg-config libssl-dev libpq-dev && \
build-essential pkg-config libssl-dev libpq-dev && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app/
@ -20,7 +20,7 @@ FROM debian:stable-slim
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && \
apt-get install -y --no-install-recommends \
libssl1.1 libpq5 && \
libssl1.1 libpq5 ca-certificates && \
rm -rf /var/lib/apt/lists/*
WORKDIR /app/

View File

@ -14,8 +14,8 @@ services:
postgres:
image: postgres:15-alpine
container_name: postgres-sb-mirror
# ports:
# - 5432:5432
# ports:
# - 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
- ./mirror:/mirror