mirror of https://github.com/lus/pasty.git
Add GCC to Dockerfile (cgo)
This commit is contained in:
parent
bf96209d99
commit
71e6baad95
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue