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:
parent
bf96209d99
commit
71e6baad95
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user