From 281aff1725ae64bec13217eddd68eeb1db555df6 Mon Sep 17 00:00:00 2001 From: Sean McAvoy Date: Tue, 18 Jan 2022 02:46:15 -0500 Subject: [PATCH] Update Dockerfile (#36) update alpine to 3.15 (same as golang:alpine) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2700171..500f58c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apk add --no-cache git gcc ca-certificates libc-dev \ WORKDIR /go/src/github.com/librespeed/speedtest-go RUN go get ./ && go build -ldflags "-w -s" -trimpath -o speedtest main.go -FROM alpine:3.9 +FROM alpine:3.15 RUN apk add ca-certificates WORKDIR /app COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/speedtest .