Skip to content

Commit 1a6cdf5

Browse files
committed
Update to go 1.14.2
1 parent e476a91 commit 1a6cdf5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Dockerfile.build

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
FROM ubuntu:18.04
2+
ARG GO=1.14.2
23

3-
RUN apt update
4-
RUN apt install -y zip golang-go ghp-import git python-pkg-resources
4+
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
512

613
ENV HOME=/var/jenkins_home

0 commit comments

Comments
 (0)