From b0864b66daa7e25df42f9b33e999ecfac70faa21 Mon Sep 17 00:00:00 2001 From: Markus Krogh Date: Fri, 2 Nov 2018 13:38:20 +0100 Subject: Bump go version + ubuntu. Fix pwned length --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') 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 -- cgit v1.1