diff options
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"] |