summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMarkus Krogh <markus@nordu.net>2018-11-02 13:38:20 +0100
committerMarkus Krogh <markus@nordu.net>2018-11-02 13:38:20 +0100
commitb0864b66daa7e25df42f9b33e999ecfac70faa21 (patch)
treef10dea57fd508e333b11dfd98c22e179b3eea2cd /Dockerfile
parent2fa87628ed738f6bf4be2bf0e3285402b32ebd0f (diff)
Bump go version + ubuntu. Fix pwned length
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 8660b07..6e756bd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.10 as build
+FROM golang:1.11 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 ./
@@ -7,7 +7,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o pwman .
#FROM alpine:latest
#RUN apk --no-cache add ca-certificates
-FROM ubuntu:16.04
+FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y libheimdal-kadm5-perl
WORKDIR /opt