mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
ci!: Update docker images for v1 release (#6365)
* ci: Remove debian and rhel7 images * include libc6-compat in all alpine images * run all n8n docker containers as the user `node` instead of `root` * upgrade the default version of npm bundled in all containers * consolidate docker entrypoints
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
f6366160a4
commit
f024d8be5a
@@ -18,9 +18,10 @@ RUN set -eux; \
|
||||
find /usr/local/lib/node_modules/n8n -type f -name "*.ts" -o -name "*.js.map" -o -name "*.vue" | xargs rm && \
|
||||
rm -rf /root/.npm
|
||||
|
||||
# Set a custom user to not have n8n run as root
|
||||
USER root
|
||||
WORKDIR /data
|
||||
RUN apk --no-cache add su-exec
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
COPY docker/images/n8n/docker-entrypoint.sh /
|
||||
|
||||
RUN \
|
||||
mkdir .n8n && \
|
||||
chown node:node .n8n
|
||||
USER node
|
||||
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user