blob: 902fd4742a5273e67fd772d4056b76e4394a54be (
plain)
1
2
3
4
5
6
7
8
9
10
|
FROM golang:1.14.0
RUN apt update && apt install -y ca-certificates ntp ntpdate
WORKDIR /go/src/glsamaker
COPY . /go/src/glsamaker
RUN go get github.com/go-pg/pg/v9
RUN go get github.com/google/uuid
RUN go get github.com/skip2/go-qrcode
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin .
CMD ["/go/src/glsamaker/bin/glsamaker"]
|