mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 04:12:16 +01:00
fix: edge release not working with armhf
This commit is contained in:
@@ -11,6 +11,22 @@ PDFTK_VERSION="$6"
|
|||||||
DOCKER_REPOSITORY="$7"
|
DOCKER_REPOSITORY="$7"
|
||||||
|
|
||||||
if [ $GOTENBERG_VERSION == "edge" ]; then
|
if [ $GOTENBERG_VERSION == "edge" ]; then
|
||||||
|
# docker buildx build \
|
||||||
|
# --build-arg GOLANG_VERSION="$GOLANG_VERSION" \
|
||||||
|
# --build-arg GOTENBERG_VERSION="$GOTENBERG_VERSION" \
|
||||||
|
# --build-arg GOTENBERG_USER_GID="$GOTENBERG_USER_GID" \
|
||||||
|
# --build-arg GOTENBERG_USER_UID="$GOTENBERG_USER_UID" \
|
||||||
|
# --build-arg NOTO_COLOR_EMOJI_VERSION="$NOTO_COLOR_EMOJI_VERSION" \
|
||||||
|
# --build-arg PDFTK_VERSION="$PDFTK_VERSION" \
|
||||||
|
# --platform linux/amd64 \
|
||||||
|
# --platform linux/arm64 \
|
||||||
|
# --platform linux/arm/v7 \
|
||||||
|
# --platform linux/386 \
|
||||||
|
# -t "$DOCKER_REPOSITORY/gotenberg:edge" \
|
||||||
|
# --push \
|
||||||
|
# -f build/Dockerfile .
|
||||||
|
|
||||||
|
# FIXME: --platform linux/arm/v7 (armhf) not working.
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--build-arg GOLANG_VERSION="$GOLANG_VERSION" \
|
--build-arg GOLANG_VERSION="$GOLANG_VERSION" \
|
||||||
--build-arg GOTENBERG_VERSION="$GOTENBERG_VERSION" \
|
--build-arg GOTENBERG_VERSION="$GOTENBERG_VERSION" \
|
||||||
@@ -20,7 +36,6 @@ if [ $GOTENBERG_VERSION == "edge" ]; then
|
|||||||
--build-arg PDFTK_VERSION="$PDFTK_VERSION" \
|
--build-arg PDFTK_VERSION="$PDFTK_VERSION" \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--platform linux/arm64 \
|
--platform linux/arm64 \
|
||||||
--platform linux/arm/v7 \
|
|
||||||
--platform linux/386 \
|
--platform linux/386 \
|
||||||
-t "$DOCKER_REPOSITORY/gotenberg:edge" \
|
-t "$DOCKER_REPOSITORY/gotenberg:edge" \
|
||||||
--push \
|
--push \
|
||||||
|
|||||||
Reference in New Issue
Block a user