Unverified Commit c3f7a9a9 authored by Nils Goroll's avatar Nils Goroll

Install doc tools for gogitversion install

because of:

Step 5/20 : RUN go get -d -v github.com/slimhazard/gogitversion &&     cd /go/src/github.com/slimhazard/gogitversion &&     make install
 ---> Running in 8a50294f4b5c
github.com/slimhazard/gogitversion (download)
godoc -html . | pandoc -f html -t markdown_github > README.md
/bin/sh: 1: pandoc: not found
/bin/sh: 1: godoc: not found
make: *** [Makefile:36: README.md] Error 127
parent c833f83e
......@@ -4,6 +4,10 @@ ARG dataplane_version=v2.3.1
# Build k8s-crt-dnldr in the builder stage
FROM golang:${go_version} as builder
RUN apt-get update -q && \
apt-get install -y golang-golang-x-tools pandoc
RUN go get -d -v github.com/slimhazard/gogitversion && \
cd /go/src/github.com/slimhazard/gogitversion && \
make install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment