diff --git a/Dockerfile b/Dockerfile index 9f1b277b..c5361667 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,18 @@ FROM alpine:3.4 +MAINTAINER Ed Rooth MAINTAINER Eric Chiang +MAINTAINER Rithu John -RUN apk add --update ca-certificates +# Dex connectors, such as GitHub and Google logins require root certificates. +# Proper installations should manage those certificates, but it's a bad user +# experience when this doesn't work out of the box. +# +# OpenSSL is required so wget can query HTTPS endpoints for health checking. +RUN apk add --update ca-certificates openssl COPY _output/bin/dex /usr/local/bin/dex -ENTRYPOINT ["/usr/local/bin/dex"] +ENTRYPOINT ["dex"] CMD ["version"]