Skip to content

Commit

Permalink
chore: pin versions for base docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoupert committed Jan 4, 2024
1 parent df719d5 commit dc7d294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang as scc-get
FROM golang:1.22rc1-alpine3.19 as scc-get

ENV GOOS=linux \
GOARCH=amd64 \
Expand All @@ -9,6 +9,6 @@ RUN git clone --branch $VERSION --depth 1 https://github.com/boyter/scc
WORKDIR /go/scc
RUN go build -ldflags="-s -w"

FROM alpine
FROM alpine:3.19
COPY --from=scc-get /go/scc/scc /bin/
ENTRYPOINT ["scc"]

0 comments on commit dc7d294

Please sign in to comment.