Add GCC to Dockerfile (cgo)

This commit is contained in:
Lukas SP 2020-08-28 19:56:26 +02:00
parent bf96209d99
commit 71e6baad95
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Build the application
FROM golang:1.15-alpine AS build
RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh
apk add --no-cache bash git openssh build-base
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download