summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJonas Zohren <gitlab-jfowl-0ux98@sh14.de>2021-12-15 10:14:20 +0000
committerTimo Kösters <timo@koesters.xyz>2021-12-15 10:14:20 +0000
commit339a26f56c84da242d753a1894589f5923b0fd7e (patch)
tree146a31b1b864ff3ad649112811a6ae9373da2be1 /docker
parentca724b634035019b97b8b1c07e3011aafe88de7f (diff)
downloadconduit-339a26f56c84da242d753a1894589f5923b0fd7e.zip
Update docker images
Diffstat (limited to 'docker')
-rw-r--r--docker/ci-binaries-packaging.Dockerfile31
1 files changed, 15 insertions, 16 deletions
diff --git a/docker/ci-binaries-packaging.Dockerfile b/docker/ci-binaries-packaging.Dockerfile
index 4ab874d..f460310 100644
--- a/docker/ci-binaries-packaging.Dockerfile
+++ b/docker/ci-binaries-packaging.Dockerfile
@@ -1,14 +1,13 @@
# syntax=docker/dockerfile:1
# ---------------------------------------------------------------------------------------------------------
# This Dockerfile is intended to be built as part of Conduit's CI pipeline.
-# It does not build Conduit in Docker, but just copies the matching build artifact from the build job.
-# As a consequence, this is not a multiarch capable image. It always expects and packages a x86_64 binary.
+# It does not build Conduit in Docker, but just copies the matching build artifact from the build jobs.
#
# It is mostly based on the normal Conduit Dockerfile, but adjusted in a few places to maximise caching.
# Credit's for the original Dockerfile: Weasy666.
# ---------------------------------------------------------------------------------------------------------
-FROM docker.io/alpine:3.14 AS runner
+FROM docker.io/alpine:3.15.0 AS runner
# Standard port on which Conduit launches.
# You still need to map the port when using the docker command or docker-compose.
@@ -21,8 +20,8 @@ ENV CONDUIT_CONFIG="/srv/conduit/conduit.toml"
# ca-certificates: for https
# libgcc: Apparently this is needed, even if I (@jfowl) don't know exactly why. But whatever, it's not that big.
RUN apk add --no-cache \
- ca-certificates \
- libgcc
+ ca-certificates \
+ libgcc
ARG CREATED
@@ -31,17 +30,17 @@ ARG GIT_REF
# Labels according to https://github.com/opencontainers/image-spec/blob/master/annotations.md
# including a custom label specifying the build command
LABEL org.opencontainers.image.created=${CREATED} \
- org.opencontainers.image.authors="Conduit Contributors" \
- org.opencontainers.image.title="Conduit" \
- org.opencontainers.image.version=${VERSION} \
- org.opencontainers.image.vendor="Conduit Contributors" \
- org.opencontainers.image.description="A Matrix homeserver written in Rust" \
- org.opencontainers.image.url="https://conduit.rs/" \
- org.opencontainers.image.revision=${GIT_REF} \
- org.opencontainers.image.source="https://gitlab.com/famedly/conduit.git" \
- org.opencontainers.image.licenses="Apache-2.0" \
- org.opencontainers.image.documentation="https://gitlab.com/famedly/conduit" \
- org.opencontainers.image.ref.name=""
+ org.opencontainers.image.authors="Conduit Contributors" \
+ org.opencontainers.image.title="Conduit" \
+ org.opencontainers.image.version=${VERSION} \
+ org.opencontainers.image.vendor="Conduit Contributors" \
+ org.opencontainers.image.description="A Matrix homeserver written in Rust" \
+ org.opencontainers.image.url="https://conduit.rs/" \
+ org.opencontainers.image.revision=${GIT_REF} \
+ org.opencontainers.image.source="https://gitlab.com/famedly/conduit.git" \
+ org.opencontainers.image.licenses="Apache-2.0" \
+ org.opencontainers.image.documentation="https://gitlab.com/famedly/conduit" \
+ org.opencontainers.image.ref.name=""
# Created directory for the database and media files
RUN mkdir -p /srv/conduit/.local/share/conduit