🔀 Merge branch 'deurk-patch-1'

This commit is contained in:
Jan Oberhauser 2019-10-26 20:47:15 +02:00
commit 713535087f
2 changed files with 10 additions and 3 deletions

View file

@ -5,8 +5,7 @@ ARG N8N_VERSION
RUN if [ -z "$N8N_VERSION" ] ; then echo "The N8N_VERSION argument is missing!" ; exit 1; fi
# Update everything and install needed dependencies
RUN apk add --update \
graphicsmagick
RUN apk add --update graphicsmagick tzdata
# # Set a custom user to not have n8n run as root
USER root
@ -19,4 +18,7 @@ RUN apk --update add --virtual build-dependencies python build-base && \
WORKDIR /data
CMD "n8n"
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["n8n"]

View file

@ -0,0 +1,5 @@
#!/bin/sh
ln -s "/usr/share/zoneinfo/${GENERIC_TIMEZONE:-America/New_York}" /etc/localtime
exec "$@"