Skip to content

Commit

Permalink
Fix docker build ATMOS_VERSION support v* tags (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored Aug 14, 2024
1 parent e5680c7 commit 094872f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ RUN case ${TARGETPLATFORM} in \
"linux/arm64") OS=linux; ARCH=arm64 ;; \
*) echo "Unsupported platform: ${TARGETPLATFORM}" && exit 1 ;; \
esac && \
ATMOS_VERSION=${ATMOS_VERSION#v} && \
echo "Downloading Atmos v${ATMOS_VERSION} for ${OS}/${ARCH}" && \
curl -1sSLf "https://github.com/cloudposse/atmos/releases/download/v${ATMOS_VERSION}/atmos_${ATMOS_VERSION}_${OS}_${ARCH}" -o /usr/local/bin/atmos && \
echo "Downloading Atmos v${ATMOS_VERSION#v} for ${OS}/${ARCH}" && \
curl -1sSLf "https://github.com/cloudposse/atmos/releases/download/v${ATMOS_VERSION#v}/atmos_${ATMOS_VERSION#v}_${OS}_${ARCH}" -o /usr/local/bin/atmos && \
chmod +x /usr/local/bin/atmos

0 comments on commit 094872f

Please sign in to comment.