Skip to content

Commit

Permalink
Merge pull request #2 from testcontainers/use-alpine-base
Browse files Browse the repository at this point in the history
Use alpine as base, instead of scratch
  • Loading branch information
rnorth authored Oct 13, 2020
2 parents e2c56a0 + de97dab commit 5caccde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN go mod download
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o /helloworld .

FROM scratch
FROM alpine:3.12
COPY static /static
COPY --from=builder /helloworld /helloworld
ENTRYPOINT ["/helloworld"]

0 comments on commit 5caccde

Please sign in to comment.