+ARG g14="1.14"
+RUN wget -nv https://dl.google.com/go/go${g14}.linux-amd64.tar.gz \
+ && tar -xf go${g14}.linux-amd64.tar.gz \
+ && mv go /opt/go/1.14 \
+ && rm -f go*.gz
+
+ENV GOPATH=/root/go
+# Default path has go version 1.12.x
+# Use /opt/go/1.13/bin for version 1.13.x
+# Use /opt/go/1.14/bin for version 1.14.x
+ENV PATH=$PATH:/opt/go/1.12/bin:$GOPATH/bin
+
+# This installs go-acc to GOPATH
+RUN go version \
+ && go get -v github.com/ory/go-acc \
+ && go-acc --help
+
+# install a recent version of cmake, ubuntu repo version is old
+ARG cv="3.14.5"
+RUN wget -nv https://github.com/Kitware/CMake/releases/download/v${cv}/cmake-${cv}-Linux-x86_64.sh \
+ && chmod +x cmake-${cv}-Linux-x86_64.sh \
+ && ./cmake-${cv}-Linux-x86_64.sh --prefix=/usr/local --skip-license \
+ && rm -f cmake*.sh
+
+# install a recent version of ninja-build, ubuntu repo version is old