Fix missing certificates in docker

This commit is contained in:
Mike Schwörer 2023-05-28 17:54:53 +02:00
parent d4a8a2e720
commit 312a31ce9e
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,12 @@ RUN make build
FROM debian:bookworm FROM debian:bookworm
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
apt-get install -y --no-install-recommends tzdata && \
rm -rf /var/cache/apt/archives && \
rm -rf /var/lib/apt/lists
COPY --from=builder /repo/_build/scn_backend /app/scnserver COPY --from=builder /repo/_build/scn_backend /app/scnserver
COPY DOCKER_GIT_INFO /app/DOCKER_GIT_INFO COPY DOCKER_GIT_INFO /app/DOCKER_GIT_INFO

View File

@ -185,7 +185,7 @@ CREATE TABLE deliveries
status TEXT CHECK(status IN ('RETRY','SUCCESS','FAILED')) NOT NULL, status TEXT CHECK(status IN ('RETRY','SUCCESS','FAILED')) NOT NULL,
retry_count INTEGER NOT NULL DEFAULT 0, retry_count INTEGER NOT NULL DEFAULT 0,
next_delivery INTEGER NULL DEFAULT NULL, next_delivery TEXT NULL DEFAULT NULL,
fcm_message_id TEXT NULL, fcm_message_id TEXT NULL,