Move rootless images to an another set (#4052)

This commit is contained in:
Louis Lam
2023-11-22 16:12:15 +08:00
committed by GitHub
parent 1550a5f792
commit d810a74d70
2 changed files with 11 additions and 1 deletions

View File

@@ -42,13 +42,20 @@ HEALTHCHECK --interval=60s --timeout=30s --start-period=180s --retries=5 CMD ext
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["node", "server/server.js"]
############################################
# Rootless Image
############################################
FROM release AS rootless
############################################
# Mark as Nightly
############################################
FROM release AS nightly
USER node
RUN npm run mark-as-nightly
FROM nightly AS nightly-rootless
USER node
############################################
# Build an image for testing pr
############################################