summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-12-16 14:59:34 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-12-16 15:00:17 +0100
commita097e1349997673771bd035a1b77323922bb442a (patch)
tree0d6d0e997ae86fdf31995576201be4055b8e44cf
parent24a34be205d5277377580df4e159d53722adbb52 (diff)
Update and fix Dockerfile.
- Remove spurious line continuation. - Update to debian bookworm. - Fixes #790.
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index f693f90c..65bf90fc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
# See https://gitlab.com/sequoia-pgp/sequoia/-/blob/main/README.md#debian
# for system requirements
-FROM debian:bullseye AS build
+FROM debian:bookworm AS build
# create a sandbox user for the build (in ~builder) and install (in /opt)
# give it permissions to the build dir and home
@@ -42,9 +42,9 @@ USER builder
RUN cd /home/builder/sequoia && \
CARGO_TARGET_DIR=target cargo build -p sequoia-sq --release && \
install --strip -D --target-directory /opt/usr/local/bin \
- target/release/sq \
+ target/release/sq
-FROM debian:bullseye-slim AS sq-base
+FROM debian:bookworm-slim AS sq-base
RUN groupadd user && \
useradd --no-log-init -g user user && \