Skip to content

Commit

Permalink
Update image to Alpine 3.16 (#142)
Browse files Browse the repository at this point in the history
Co-authored-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max and crazy-max authored Aug 24, 2022
1 parent 552d6c0 commit 5fe37f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# syntax=docker/dockerfile:1

ARG CHOCOLATEY_VERSION="1.1.0"
ARG MONO_VERSION="6.12"
ARG ALPINE_VERSION="3.16"

FROM mono:6.12 as builder
FROM mono:${MONO_VERSION} as builder
RUN apt-get update \
&& apt-get install -y \
gzip \
Expand All @@ -19,7 +23,7 @@ WORKDIR /usr/local/src/choco
RUN chmod +x build.sh zip.sh
RUN ./build.sh

FROM alpine:3.15
FROM alpine:${ALPINE_VERSION}
LABEL maintainer="CrazyMax"

COPY --from=builder /usr/local/src/choco/build_output/chocolatey /opt/chocolatey
Expand Down

0 comments on commit 5fe37f5

Please sign in to comment.