Skip to content

Commit

Permalink
build(Docker): use alpine for docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Jun 18, 2021
1 parent 9b63614 commit a110b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN go get github.com/jkuri/statik github.com/golang/protobuf/protoc-gen-go gith
RUN make protoc && make statik && make wire && make server

# stage 3 image
FROM scratch
FROM alpine:latest

LABEL maintainer="Jan Kuri <[email protected]>" \
org.label-schema.schema-version="1.0" \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN go get github.com/jkuri/statik github.com/golang/protobuf/protoc-gen-go gith
RUN make protoc && make wire && make worker

# stage 2 image
FROM scratch
FROM alpine:latest

LABEL maintainer="Jan Kuri <[email protected]>" \
org.label-schema.schema-version="1.0" \
Expand Down

0 comments on commit a110b80

Please sign in to comment.