docker-registry-ui icon indicating copy to clipboard operation
docker-registry-ui copied to clipboard

arm64v8 image

Open h3rj4n opened this issue 6 years ago • 2 comments

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

h3rj4n avatar Oct 21 '18 11:10 h3rj4n

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

jc21 avatar Oct 21 '18 22:10 jc21

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

aleksei-pronichev avatar Aug 25 '21 13:08 aleksei-pronichev