From 089b2b35c2ce888314b09a8b99d40cdf83af1e16 Mon Sep 17 00:00:00 2001 From: Dan Adams Date: Thu, 3 Oct 2024 12:16:35 -0700 Subject: [PATCH] edit docker file a bit --- build/Dockerfile.fips | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/Dockerfile.fips b/build/Dockerfile.fips index 3aa810b04..94a471c58 100644 --- a/build/Dockerfile.fips +++ b/build/Dockerfile.fips @@ -3,6 +3,9 @@ FROM ubuntu:16.04 # Define Go version ARG GO_VERSION=1.21.6 +# Define build-time arguments for the GitHub CLI version and architecture +ARG GH_VERSION='2.0.0' +ARG GH_ARCH='amd64' # Install dependencies @@ -39,10 +42,6 @@ RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.linux-amd64.tar.gz -o go${GO ENV PATH="/usr/local/go/bin:${PATH}" ENV GOPATH="/go" -# Define build-time arguments for the GitHub CLI version and architecture -ARG GH_VERSION='2.0.0' -ARG GH_ARCH='amd64' - # Download and install the GitHub CLI RUN curl -L https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_${GH_ARCH}.deb -o gh_${GH_VERSION}_linux_${GH_ARCH}.deb && \ dpkg -i gh_${GH_VERSION}_linux_${GH_ARCH}.deb && \