[GH-ISSUE #1321] Support for arm 32 v6 architecture #1056

Closed
opened 2026-02-26 06:35:35 +03:00 by kerem · 3 comments
Owner

Originally created by @WillJBrown on GitHub (Aug 15, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1321

I'd love to be able to run npm on my raspberry pi zero as a sort of redistributing gateway manger for the various devices on my network. I have done some cross compiling of docker images before so I could probably make the necessary changes to the build scripts if you can point me in the right direction and run though what the current build process is. Are you using docker buildx to achieve your multi-arch manifest?

Thanks very much for the program.

Originally created by @WillJBrown on GitHub (Aug 15, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1321 I'd love to be able to run npm on my raspberry pi zero as a sort of redistributing gateway manger for the various devices on my network. I have done some cross compiling of docker images before so I could probably make the necessary changes to the build scripts if you can point me in the right direction and run though what the current build process is. Are you using docker buildx to achieve your multi-arch manifest? Thanks very much for the program.
kerem 2026-02-26 06:35:35 +03:00
Author
Owner

@jc21 commented on GitHub (Aug 17, 2021):

Yes I am using buildx. I removed armv6 from the list a while ago, as I fully expected nginx to be too slow on pi 2/zero's. Plus no-one was really using that image and it was increasing build times by 30%.

You're more than welcome to try though.

  1. You'll need to build the nginx-full base image for armv6:
git clone https://github.com/NginxProxyManager/docker-nginx-full.git
cd docker-nginx-full

export OPENRESTY_VERSION=1.19.3.1
export LUA_VERSION=5.1.5
export LUAROCKS_VERSION=3.3.1

docker buildx create --name 'nginx-full'
docker buildx use 'nginx-full'

docker buildx build \
	--platform linux/arm/6 \
	--progress plain \
	--pull \
	--build-arg BASE_TAG \
	--build-arg OPENRESTY_VERSION \
	--build-arg LUA_VERSION \
	--build-arg LUAROCKS_VERSION \
	-t nginx-full:armv6 \
	-f docker/Dockerfile \
	.

docker buildx rm 'nginx-full'
  1. Using this base image, you'll need to build a node version on top of that:
vi docker/Dockerfile.node
# change the FROM image name to be the one you just built, `nginx-full:armv6`

docker buildx create --name 'nginx-full'
docker buildx use 'nginx-full'

docker buildx build \
	--platform linux/arm/6 \
	--progress plain \
	-t nginx-full:armv6-node \
	-f docker/Dockerfile.node \
	.

docker buildx rm 'nginx-full'
  1. Then use this image when building nginxproxymanager:
git clone https://github.com/jc21/nginx-proxy-manager.git
cd nginx-proxy-manager

vi docker/Dockerfile
# change the FROM image name to be the one with node, `nginx-full:armv6-node`

./scripts/frontend-build

docker buildx create --name 'nginx-proxy-manager'
docker buildx use 'nginx-proxy-manager'

docker buildx build \
  --build-arg BUILD_VERSION="armv6" \
  --build-arg BUILD_COMMIT="notset" \
  --build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \
  --platform linux/arm/6 \
  --progress plain \
  -t nginx-proxy-manager:armv6 \
  -f docker/Dockerfile \
  .

docker buildx rm 'nginx-proxy-manager'
  1. Use this nginx-proxy-manager:armv6 image on your zero
<!-- gh-comment-id:899963285 --> @jc21 commented on GitHub (Aug 17, 2021): Yes I am using buildx. I removed armv6 from the list a while ago, as I fully expected nginx to be too slow on pi 2/zero's. Plus no-one was really using that image and it was increasing build times by 30%. You're more than welcome to try though. 1. You'll need to build the `nginx-full` [base image](https://github.com/NginxProxyManager/docker-nginx-full) for armv6: ```bash git clone https://github.com/NginxProxyManager/docker-nginx-full.git cd docker-nginx-full export OPENRESTY_VERSION=1.19.3.1 export LUA_VERSION=5.1.5 export LUAROCKS_VERSION=3.3.1 docker buildx create --name 'nginx-full' docker buildx use 'nginx-full' docker buildx build \ --platform linux/arm/6 \ --progress plain \ --pull \ --build-arg BASE_TAG \ --build-arg OPENRESTY_VERSION \ --build-arg LUA_VERSION \ --build-arg LUAROCKS_VERSION \ -t nginx-full:armv6 \ -f docker/Dockerfile \ . docker buildx rm 'nginx-full' ``` 2. Using this base image, you'll need to build a `node` version on top of that: ```bash vi docker/Dockerfile.node # change the FROM image name to be the one you just built, `nginx-full:armv6` docker buildx create --name 'nginx-full' docker buildx use 'nginx-full' docker buildx build \ --platform linux/arm/6 \ --progress plain \ -t nginx-full:armv6-node \ -f docker/Dockerfile.node \ . docker buildx rm 'nginx-full' ``` 3. Then use this image when building nginxproxymanager: ```bash git clone https://github.com/jc21/nginx-proxy-manager.git cd nginx-proxy-manager vi docker/Dockerfile # change the FROM image name to be the one with node, `nginx-full:armv6-node` ./scripts/frontend-build docker buildx create --name 'nginx-proxy-manager' docker buildx use 'nginx-proxy-manager' docker buildx build \ --build-arg BUILD_VERSION="armv6" \ --build-arg BUILD_COMMIT="notset" \ --build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \ --platform linux/arm/6 \ --progress plain \ -t nginx-proxy-manager:armv6 \ -f docker/Dockerfile \ . docker buildx rm 'nginx-proxy-manager' ``` 4. Use this `nginx-proxy-manager:armv6` image on your zero
Author
Owner

@github-actions[bot] commented on GitHub (Mar 6, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:1979932494 --> @github-actions[bot] commented on GitHub (Mar 6, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Apr 19, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2816464985 --> @github-actions[bot] commented on GitHub (Apr 19, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#1056
No description provided.