Skip to content

Commit

Permalink
Container image: Switch base image to alpine:3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
mgumz committed Mar 11, 2023
1 parent 1f4d71a commit ec3b4c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM alpine:3.13 as build
FROM alpine:3.17 as build

RUN apk --update add go make musl-dev linux-headers git

ARG BUILD_DIR=/src/cciu

COPY . $BUILD_DIR
RUN make -C $BUILD_DIR cciu
RUN env CGO_ENABLED=0 make -C $BUILD_DIR cciu

###

FROM alpine:3.13
FROM alpine:3.17
ARG BUILD_DIR=/src/cciu
RUN apk --update add ca-certificates
COPY --from=build $BUILD_DIR/bin/cciu /usr/bin/cciu

0 comments on commit ec3b4c9

Please sign in to comment.