Skip to content

Commit

Permalink
Fix Dockerfile for AMD64v2 case. (#12017)
Browse files Browse the repository at this point in the history
  • Loading branch information
lystopad authored Sep 17, 2024
1 parent e96cd34 commit 34c643a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ ARG RELEASE_DOCKER_BASE_IMAGE="alpine:3.20.1" \
### Release Dockerfile
FROM ${RELEASE_DOCKER_BASE_IMAGE} AS temporary
ARG TARGETARCH \
TARGETVARIANT="" \
TARGETVARIANT \
VERSION=${VERSION} \
APPLICATION

COPY ./dist/${APPLICATION}_${VERSION}_linux_${TARGETARCH}${TARGETVARIANT}.tar.gz /tmp/${APPLICATION}.tar.gz
RUN tar xzvf /tmp/${APPLICATION}.tar.gz -C /tmp && \
mv /tmp/${APPLICATION}_${VERSION}_linux_${TARGETARCH} /tmp/${APPLICATION}
mv /tmp/${APPLICATION}_${VERSION}_linux_${TARGETARCH}${TARGETVARIANT} /tmp/${APPLICATION}

FROM ${RELEASE_DOCKER_BASE_IMAGE} AS release

Expand Down

0 comments on commit 34c643a

Please sign in to comment.