[GH-ISSUE #2] arm64v8 image #2

Open
opened 2026-02-27 07:15:08 +03:00 by kerem · 2 comments
Owner

Originally created by @h3rj4n on GitHub (Oct 21, 2018).
Original GitHub issue: https://github.com/jc21/docker-registry-ui/issues/2

I've created a arm64v8 image using multistage builds. Maybe you can add it in your Jenkins build and push it to the docker hub.

This is my docker build file:

FROM jc21/registry-ui as original

FROM arm64v8/node:alpine

RUN apk add --update --no-cache curl

ENV NODE_ENV=production

COPY --from=original /srv/app/dist                /srv/app/dist
COPY --from=original /srv/app/node_modules        /srv/app/node_modules
COPY --from=original /srv/app/LICENCE             /srv/app/LICENCE
COPY --from=original /srv/app/package.json        /srv/app/package.json
COPY --from=original /srv/app/src/backend         /srv/app/src/backend

WORKDIR /srv/app

CMD node --max_old_space_size=250 --abort_on_uncaught_exception src/backend/index.js

HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost/ || exit 1
Originally created by @h3rj4n on GitHub (Oct 21, 2018). Original GitHub issue: https://github.com/jc21/docker-registry-ui/issues/2 I've created a arm64v8 image using [multistage builds](https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds). Maybe you can add it in your Jenkins build and push it to the docker hub. This is my docker build file: ``` FROM jc21/registry-ui as original FROM arm64v8/node:alpine RUN apk add --update --no-cache curl ENV NODE_ENV=production COPY --from=original /srv/app/dist /srv/app/dist COPY --from=original /srv/app/node_modules /srv/app/node_modules COPY --from=original /srv/app/LICENCE /srv/app/LICENCE COPY --from=original /srv/app/package.json /srv/app/package.json COPY --from=original /srv/app/src/backend /srv/app/src/backend WORKDIR /srv/app CMD node --max_old_space_size=250 --abort_on_uncaught_exception src/backend/index.js HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost/ || exit 1 ```
Author
Owner

@jc21 commented on GitHub (Oct 21, 2018):

Thanks I'll try to get this sorted when I get a chance

<!-- gh-comment-id:431709515 --> @jc21 commented on GitHub (Oct 21, 2018): Thanks I'll try to get this sorted when I get a chance
Author
Owner

@aleksei-pronichev commented on GitHub (Aug 25, 2021):

it would be great if you can make a version for arm64

<!-- gh-comment-id:905489068 --> @aleksei-pronichev commented on GitHub (Aug 25, 2021): it would be great if you can make a version for arm64
Sign in to join this conversation.
No labels
pull-request
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/docker-registry-ui-jc21#2
No description provided.