From bd951024f3113b9603d49d331bf84409704f386a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20H=C3=B6rberg?= Date: Tue, 20 Feb 2024 22:30:40 +0100 Subject: [PATCH] Use latest alpine for container image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9efa80f..a8c58ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,10 +3,10 @@ WORKDIR /tmp COPY shard.yml shard.lock ./ RUN shards install --production COPY src/ src/ -RUN shards build --production --release --debug +RUN shards build --production --release -FROM alpine:3.18 -RUN apk add --no-cache libssl1.1 pcre2 libevent libgcc \ +FROM alpine:latest +RUN apk add --no-cache libssl3 pcre2 libevent libgcc \ && addgroup --gid 1000 amqpproxy \ && adduser --no-create-home --disabled-password --uid 1000 amqpproxy -G amqpproxy COPY --from=builder /tmp/bin/amqproxy /usr/bin/amqproxy