Skip to content

Commit 4e36c21

Browse files
fix: use alpine base image
1 parent 4570d84 commit 4e36c21

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Dockerfile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
FROM alpine AS certs
2-
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
3-
4-
FROM scratch
1+
FROM alpine
52
ARG VERSION
63

7-
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
8-
COPY "./bin/semantic-release_v${VERSION}_linux_amd64" /semantic-release
4+
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
5+
COPY "./bin/semantic-release_v${VERSION}_linux_amd64" /usr/local/bin/semantic-release
96

10-
ENTRYPOINT ["/semantic-release"]
7+
ENTRYPOINT ["semantic-release"]

0 commit comments

Comments
 (0)