diff --git a/Dockerfile_release-builder.in b/Dockerfile_release-builder.in index 73e0cde23e..e6b71ceacd 100644 --- a/Dockerfile_release-builder.in +++ b/Dockerfile_release-builder.in @@ -1,5 +1,11 @@ FROM golang:GOVERSION +RUN mkdir /src \ + && cd /src \ + && git clone --branch v0.53 https://github.com/gohugoio/hugo.git \ + && cd hugo \ + && go install --tags extended + RUN echo 'deb http://deb.nodesource.com/node_6.x jessie main' > /etc/apt/sources.list.d/nodesource.list RUN echo 'deb-src http://deb.nodesource.com/node_6.x jessie main' >> /etc/apt/sources.list.d/nodesource.list @@ -12,6 +18,4 @@ RUN apt-get update -y \ RUN echo en_US.UTF-8 UTF-8 > /etc/locale.gen && locale-gen ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en -ENV LC_ALL en_US.UTF-8 - -RUN npm install -g gitbook-cli \ No newline at end of file +ENV LC_ALL en_US.UTF-8 \ No newline at end of file diff --git a/Makefile b/Makefile index 384616cd9e..115fec83e0 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ BUILD_COMMIT := $(shell ./build/get-build-commit.sh) BUILD_TIMESTAMP := $(shell ./build/get-build-timestamp.sh) BUILD_HOSTNAME := $(shell ./build/get-build-hostname.sh) -RELEASE_BUILDER_VERSION := 1.1 +RELEASE_BUILDER_VERSION := 1.2 LDFLAGS := "-X github.com/open-policy-agent/opa/version.Version=$(VERSION) \ -X github.com/open-policy-agent/opa/version.Vcs=$(BUILD_COMMIT) \