Skip to content

Commit

Permalink
Replace gitbook with hugo in the builder image
Browse files Browse the repository at this point in the history
Signed-off-by: Torin Sandall <[email protected]>
  • Loading branch information
tsandall committed Apr 9, 2019
1 parent cfb6270 commit 83dbc54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions Dockerfile_release-builder.in
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
ENV LC_ALL en_US.UTF-8
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 83dbc54

Please sign in to comment.