From 34c643a86259167e3379bd38d832733c178e61c0 Mon Sep 17 00:00:00 2001 From: lystopad Date: Tue, 17 Sep 2024 15:51:45 +0200 Subject: [PATCH] Fix Dockerfile for AMD64v2 case. (#12017) --- Dockerfile.release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.release b/Dockerfile.release index c6cb976fc75..f23352ec274 100644 --- a/Dockerfile.release +++ b/Dockerfile.release @@ -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