Skip to content

Commit

Permalink
chore: fix missing arg declaration
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Klick <[email protected]>
  • Loading branch information
nathanklick committed Aug 15, 2024
1 parent 320a68a commit b6e63b4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scaleset/runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ RUN apt-get update -y \
curl \
unzip \
zip \
gzip \
gunzip \
jq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -92,9 +94,10 @@ RUN curl -fL https://install-cli.jfrog.io | sh \
&& curl -L -o /usr/local/bin/semver https://raw.githubusercontent.com/fsaintjacques/semver-tool/master/src/semver \
&& chmod +x /usr/local/bin/semver

ARG TARGETARCH
ARG GH_CLI_VERSION=2.54.0
RUN export ARCH=${TARGETPLATFORM} \
&& if [ "$ARCH" = "i386" ]; then export ARCH=386 ; fi \
RUN export ARCH=${TARGETARCH} \
&& if [ "${ARCH}" = "i386" ]; then export ARCH=386 ; fi \
&& curl -sL https://github.com/cli/cli/releases/download/v${GH_CLI_VERSION}/gh_${GH_CLI_VERSION}_linux_${ARCH}.tar.gz \
| tar -xz --wildcards --strip-components=2 -C /usr/local/bin "*/bin/gh" \
&& chmod +x /usr/local/bin/gh
Expand Down

0 comments on commit b6e63b4

Please sign in to comment.