Skip to content

Commit

Permalink
edit docker file a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
nr-dadams committed Oct 3, 2024
1 parent b3926a5 commit 089b2b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/Dockerfile.fips
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 && \
Expand Down

0 comments on commit 089b2b3

Please sign in to comment.