Skip to content

Commit

Permalink
Merge pull request #18 from paullouisageneau/update-dockerfile
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
paullouisageneau authored Jun 14, 2024
2 parents 4e46e00 + 2e60f81 commit 99b67ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -10,11 +10,11 @@ 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;

COPY --from=builder /usr/src/violet/build/violet /usr/local/bin/

CMD [ "/usr/local/bin/violet" ]
ENTRYPOINT [ "/usr/local/bin/violet" ]

0 comments on commit 99b67ec

Please sign in to comment.