From 312a31ce9ef49ea95d608fad83ad3f0033b7755f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 28 May 2023 17:54:53 +0200 Subject: [PATCH] Fix missing certificates in docker --- scnserver/Dockerfile | 6 ++++++ scnserver/db/impl/primary/schema/schema_3.ddl | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scnserver/Dockerfile b/scnserver/Dockerfile index ede78a5..1ffa44e 100644 --- a/scnserver/Dockerfile +++ b/scnserver/Dockerfile @@ -7,6 +7,12 @@ RUN make build 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 DOCKER_GIT_INFO /app/DOCKER_GIT_INFO diff --git a/scnserver/db/impl/primary/schema/schema_3.ddl b/scnserver/db/impl/primary/schema/schema_3.ddl index de57bc1..5e5d01b 100644 --- a/scnserver/db/impl/primary/schema/schema_3.ddl +++ b/scnserver/db/impl/primary/schema/schema_3.ddl @@ -185,7 +185,7 @@ CREATE TABLE deliveries status TEXT CHECK(status IN ('RETRY','SUCCESS','FAILED')) NOT NULL, retry_count INTEGER NOT NULL DEFAULT 0, - next_delivery INTEGER NULL DEFAULT NULL, + next_delivery TEXT NULL DEFAULT NULL, fcm_message_id TEXT NULL,