archive
This commit is contained in:
13
authelia/Dockerfile
Normal file
13
authelia/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.16.2 as builder
|
||||
|
||||
WORKDIR /go/src/github.com/authelia/authelia
|
||||
COPY ./authelia/ ./
|
||||
RUN cd cmd/authelia && go build -o /authelia -a -installsuffix cgo -ldflags "-s -w" && /authelia -h
|
||||
|
||||
FROM frolvlad/alpine-glibc:glibc-2.29
|
||||
WORKDIR /opt
|
||||
COPY --from=builder /authelia ./
|
||||
RUN ls && ./authelia -h && du -sh ./authelia
|
||||
|
||||
CMD ["./authelia"]
|
||||
ENTRYPOINT []
|
||||
Reference in New Issue
Block a user