mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add pomerium
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
parent
63bff5a797
commit
0aafb7c4d4
|
@ -128,6 +128,7 @@ facebook/osquery
|
||||||
hashicorp/packer
|
hashicorp/packer
|
||||||
Tautulli/Tautulli
|
Tautulli/Tautulli
|
||||||
perkeep/perkeep
|
perkeep/perkeep
|
||||||
|
pomerium/pomerium
|
||||||
powershell/powershell
|
powershell/powershell
|
||||||
Radarr/Radarr
|
Radarr/Radarr
|
||||||
cesanta/docker_auth
|
cesanta/docker_auth
|
||||||
|
|
26
pomerium/Dockerfile
Normal file
26
pomerium/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
FROM golang:alpine as builder
|
||||||
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
|
RUN apk --no-cache add \
|
||||||
|
ca-certificates \
|
||||||
|
git \
|
||||||
|
make
|
||||||
|
|
||||||
|
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||||
|
ENV GOPATH /go
|
||||||
|
|
||||||
|
ENV POMERIUM_VERSION v0.5.2
|
||||||
|
|
||||||
|
RUN go get github.com/pomerium/pomerium || true \
|
||||||
|
&& cd /go/src/github.com/pomerium/pomerium \
|
||||||
|
&& git checkout "${POMERIUM_VERSION}" \
|
||||||
|
&& make release \
|
||||||
|
&& mv dist/pomerium-linux-amd64 /usr/bin/pomerium
|
||||||
|
|
||||||
|
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
COPY --from=builder /usr/bin/pomerium /usr/bin/pomerium
|
||||||
|
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
|
||||||
|
|
||||||
|
ENTRYPOINT [ "pomerium" ]
|
Loading…
Reference in New Issue
Block a user