diff options
author | Markus Krogh <markus@nordu.net> | 2018-06-13 13:07:19 +0200 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2018-06-13 13:07:19 +0200 |
commit | ae269bdcb49b295cf589c4a37246acace261f7fe (patch) | |
tree | 1da9c41a30a0bdf558f1d699194983b43a6770aa /Dockerfile | |
parent | 58a7662e577c8a914e580b175320ccf4f6137a18 (diff) |
Tidy up Dockerfile + flags
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -5,13 +5,17 @@ COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o pwman . -FROM alpine:latest -RUN apk --no-cache add ca-certificates +#FROM alpine:latest +#RUN apk --no-cache add ca-certificates +FROM ubuntu:16.04 +RUN apt-get update && \ + apt-get install -y libheimdal-kadm5-perl WORKDIR /opt COPY --from=build /go/src/pwman/pwman /usr/local/bin/ -COPY create-kdc-principal.pl . -COPY krb5.conf . +COPY krb5.conf /etc/krb5.conf +COPY scripts scripts COPY static static COPY templates templates +ENV KRB5_CONF=/etc/krb5.conf CMD ["pwman"] |