1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00

update to golang 13.5 and alpine 3.11

This commit is contained in:
Lee Brown
2020-01-08 09:46:50 +08:00
parent 1507580029
commit 8a6ecd5dd6
7 changed files with 92 additions and 66 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.12.9-alpine3.9 AS build_base_golang
FROM golang:1.13.5-alpine3.11 AS build_base_golang
LABEL maintainer="lee@geeksinthewoods.com"
@ -81,7 +81,7 @@ RUN if [ "$swagInit" != "" ]; then swag init ; fi
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-X main.build=${commit_ref}" -a -installsuffix nocgo -o /gosrv .
FROM alpine:3.9
FROM alpine:3.11
RUN apk --update --no-cache add \
tzdata ca-certificates curl openssl