We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e476a91 commit 1a6cdf5Copy full SHA for 1a6cdf5
Dockerfile.build
@@ -1,6 +1,13 @@
1
FROM ubuntu:18.04
2
+ARG GO=1.14.2
3
-RUN apt update
4
-RUN apt install -y zip golang-go ghp-import git python-pkg-resources
+ENV DEBIAN_FRONTEND=noninteractive
5
+RUN apt-get update && \
6
+ apt-get install -y zip ghp-import git python-pkg-resources && \
7
+ rm -rf /var/lib/apt/lists/*
8
+
9
+COPY --from=golang /usr/local/go /usr/local/go
10
+ENV GOROOT=/usr/local/go
11
+ENV PATH=$GOROOT/bin:$PATH
12
13
ENV HOME=/var/jenkins_home
0 commit comments