diff --git a/Dockerfile b/Dockerfile index cebab97..ba393f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Docker build file for Inbucket, see https://www.docker.io/ # Inbucket website: http://www.inbucket.org/ -FROM golang:1.9-alpine +FROM golang:1.10-alpine MAINTAINER James Hillyerd, @jameshillyerd # Configuration (WORKDIR doesn't support env vars) diff --git a/etc/docker/install.sh b/etc/docker/install.sh index 916c745..54507db 100755 --- a/etc/docker/install.sh +++ b/etc/docker/install.sh @@ -16,8 +16,6 @@ apk add --no-cache --virtual .build-deps git # Setup export GOBIN="$bindir" cd "$srcdir" -# Fetch tags for describe -git fetch -t builddate="$(date -Iseconds)" buildver="$(git describe --tags --always)" @@ -30,7 +28,7 @@ echo "### Testing Inbucket" go test ./... echo "### Building Inbucket" -go build -o inbucket -ldflags "-X 'main.version=$buildver' -X 'main.date=$builddate'" -v . +go build -o inbucket -ldflags "-X 'main.version=$buildver' -X 'main.date=$builddate'" -v ./cmd/inbucket echo "### Installing Inbucket" set -x