From 62a1729557aecdeb81142b5b472769f670d394cc Mon Sep 17 00:00:00 2001 From: Dengke Tang Date: Mon, 8 Jan 2024 10:13:54 -0800 Subject: [PATCH] install golang --- .github/docker-images/ubuntu-18-x64/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/docker-images/ubuntu-18-x64/Dockerfile b/.github/docker-images/ubuntu-18-x64/Dockerfile index abe37536f..748ee2160 100644 --- a/.github/docker-images/ubuntu-18-x64/Dockerfile +++ b/.github/docker-images/ubuntu-18-x64/Dockerfile @@ -22,9 +22,15 @@ RUN apt-get update -qq \ software-properties-common \ apt-transport-https \ ca-certificates \ - golang-1.18 \ && apt-get clean +# Add the longsleep/golang-backports PPA +RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository ppa:longsleep/golang-backports && apt-get update + +# Install Go from the PPA +RUN apt-get install -y golang-go +############################################################################### + ############################################################################### # Python/AWS CLI ###############################################################################