mirror of https://github.com/nmasse-itix/liche.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
214 B
10 lines
214 B
FROM golang:1.12
|
|
COPY . /src
|
|
ENV CGO_ENABLED=0 GO111MODULE=on GOOS=linux
|
|
WORKDIR /src
|
|
RUN go build -o liche
|
|
|
|
FROM alpine
|
|
RUN apk --no-cache add ca-certificates
|
|
COPY --from=0 /src/liche /liche
|
|
ENTRYPOINT ["/liche"]
|
|
|