1
0
mirror of synced 2026-08-31 19:55:37 +00:00

chore: add arm64 Docker image (#890)

This commit is contained in:
Max Schmitt
2022-05-02 14:46:05 +01:00
committed by GitHub
parent b6b54af13c
commit 298e01ee80
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ RUN apt-get update && \
# Create the pwuser
adduser pwuser
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
ARG PW_TARGET_ARCH
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-${PW_TARGET_ARCH}
# === BAKE BROWSERS INTO IMAGE ===
+3 -1
View File
@@ -32,4 +32,6 @@ else
exit 1
fi
docker build --platform "${PLATFORM}" -t "$3" -f "Dockerfile.$2" ../../
PW_TARGET_ARCH=$(echo $1 | cut -c3-)
docker build --platform "${PLATFORM}" --build-arg "PW_TARGET_ARCH=${PW_TARGET_ARCH}" -t "$3" -f "Dockerfile.$2" ../../
+2 -1
View File
@@ -117,4 +117,5 @@ publish_docker_manifest () {
}
publish_docker_images_with_arch_suffix focal amd64
publish_docker_manifest focal amd64
publish_docker_images_with_arch_suffix focal arm64
publish_docker_manifest focal amd64 arm64