From 402fc1a0ce7102c527b3479a573a5dc255f62991 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Fri, 14 Jun 2024 11:02:52 +0200 Subject: [PATCH 1/2] Update docker images to alpine 3.20 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1591ddc..a2dea16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.16 as builder +FROM alpine:3.20 as builder RUN apk update --no-cache; \ apk add --no-cache cmake make gcc musl-dev; @@ -10,7 +10,7 @@ RUN cmake -B build; \ cd build; \ make -j2 -FROM alpine:3.16 as app +FROM alpine:3.20 as app RUN apk update --no-cache; \ apk add --no-cache musl; From 2e60f8168482463c81cafe2f0e244452290b1ee9 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Fri, 14 Jun 2024 11:10:35 +0200 Subject: [PATCH 2/2] Change docker CMD to ENTRYPOINT --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a2dea16..f479e7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,4 +17,4 @@ RUN apk update --no-cache; \ COPY --from=builder /usr/src/violet/build/violet /usr/local/bin/ -CMD [ "/usr/local/bin/violet" ] +ENTRYPOINT [ "/usr/local/bin/violet" ]