Skip to content

Commit aa59a3d

Browse files
chenrui333jmattheis
authored andcommitted
upgrade golang base image, and tag alpine image
1 parent fa4656a commit aa59a3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build
2-
FROM golang:1.14.4-stretch AS build-env
2+
FROM golang:1.17.5-stretch AS build-env
33

44
WORKDIR /src
55

@@ -8,7 +8,7 @@ ADD . .
88
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o app .
99

1010
# run
11-
FROM alpine
11+
FROM alpine:3.15
1212

1313
RUN apk add --no-cache \
1414
ca-certificates

0 commit comments

Comments
 (0)