Skip to content

Commit 5caccde

Browse files
authored
Merge pull request #2 from testcontainers/use-alpine-base
Use alpine as base, instead of scratch
2 parents e2c56a0 + de97dab commit 5caccde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN go mod download
55
COPY . ./
66
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o /helloworld .
77

8-
FROM scratch
8+
FROM alpine:3.12
99
COPY static /static
1010
COPY --from=builder /helloworld /helloworld
1111
ENTRYPOINT ["/helloworld"]

0 commit comments

Comments
 (0)