Skip to content

Commit

Permalink
install go binary in jenkins CI worker (#2304)
Browse files Browse the repository at this point in the history
* install go binary in jenkins CI worker

* install go

* download go tar

---------

Co-authored-by: Hara Prasad <haraprasadj@uchicago.edu>
  • Loading branch information
atharvar28 and haraprasadj authored Aug 10, 2023
1 parent 62d2d89 commit e3e39ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^.secrets.baseline$",
"lines": null
},
"generated_at": "2023-07-31T16:54:24Z",
"generated_at": "2023-08-10T17:51:06Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -78,7 +78,7 @@
{
"hashed_secret": "10daf3a26c6a17242a5ab2438a12ebc8276c7603",
"is_verified": false,
"line_number": 115,
"line_number": 122,
"type": "Secret Keyword"
}
],
Expand Down
7 changes: 7 additions & 0 deletions Docker/jenkins/Jenkins-CI-Worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" \
google-cloud-sdk-cbt \
kubectl

# install go - https://go.dev/doc/install
RUN wget https://go.dev/dl/go1.21.0.linux-amd64.tar.gz \
&& rm -rf /usr/local/go \
&& tar -C /usr/local -xzf go1.21.0.linux-amd64.tar.gz
ENV PATH="$PATH:/usr/local/go/bin"
RUN go version

#
# install docker tools:
#
Expand Down

0 comments on commit e3e39ac

Please sign in to comment.