Skip to content

Commit

Permalink
Separate run layer for depot downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Jul 5, 2024
1 parent ec78311 commit a9e3771
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,16 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
COPY --from=rcon-cli_builder /build/gorcon /usr/bin/rcon-cli

ARG TARGETARCH
RUN case "${TARGETARCH}" in \
RUN case ${TARGETARCH} in \
"amd64") SUPERCRONIC_SHA1SUM=${SUPERCRONIC_SHA1SUM_AMD64} ;; \
"arm64") SUPERCRONIC_SHA1SUM=${SUPERCRONIC_SHA1SUM_ARM64} ;; \
esac \
&& wget --progress=dot:giga https://github.com/aptible/supercronic/releases/download/v${SUPERCRONIC_VERSION}/supercronic-linux-${TARGETARCH} -O supercronic \
&& echo "${SUPERCRONIC_SHA1SUM}" supercronic | sha1sum -c - \
&& chmod +x supercronic \
&& mv supercronic /usr/local/bin/supercronic \
&& case "${TARGETARCH}" in \
&& mv supercronic /usr/local/bin/supercronic

RUN case ${TARGETARCH} in \

Check failure on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / Lint - Docker

SC2086 info: Double quote to prevent globbing and word splitting.
"amd64") DEPOT_DOWNLOADER_FILENAME=DepotDownloader-linux-x64.zip ;; \
"arm64") DEPOT_DOWNLOADER_FILENAME=DepotDownloader-linux-arm64.zip ;; \
esac \
Expand Down

0 comments on commit a9e3771

Please sign in to comment.