docker-registry-ui
docker-registry-ui copied to clipboard
arm64v8 image
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
Thanks I'll try to get this sorted when I get a chance
it would be great if you can make a version for arm64