1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Add GCC to Dockerfile (cgo)

This commit is contained in:
Lukas SP 2020-08-28 19:56:26 +02:00
parent bf96209d99
commit 71e6baad95

View File

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