diff options
| author | Markus Krogh <markus@nordu.net> | 2018-06-08 14:25:01 +0200 |
|---|---|---|
| committer | Markus Krogh <markus@nordu.net> | 2018-06-08 14:25:01 +0200 |
| commit | dcbfaeee2a9b3df2d65af4a0b32075dd3b95ad19 (patch) | |
| tree | a031e0a4a8836e615c01afe57a26ef2696b3fa16 /Dockerfile.golang | |
| parent | 8b7180f770d0cd63c8a3626f35ce6d8c06f54db4 (diff) | |
Swap go Dockerfile in
Diffstat (limited to 'Dockerfile.golang')
| -rw-r--r-- | Dockerfile.golang | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Dockerfile.golang b/Dockerfile.golang deleted file mode 100644 index d77956f..0000000 --- a/Dockerfile.golang +++ /dev/null @@ -1,17 +0,0 @@ -FROM golang:1.10 as build -WORKDIR /go/src/pwman -RUN go get -d -v gopkg.in/ldap.v2 github.com/gorilla/csrf gopkg.in/jcmturner/gokrb5.v5/client gopkg.in/jcmturner/gokrb5.v5/config github.com/namsral/flag -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 -WORKDIR /opt -COPY --from=build /go/src/pwman/pwman /usr/local/bin/ -COPY create-kdc-principal.pl . -COPY krb5.conf . -COPY static static -COPY templates templates - -CMD ["pwman"] |
