Commit Graph

72 Commits

Author SHA1 Message Date
कारतोफ्फेलस्क्रिप्ट™
398adb23e8 feat(docker): reduce the size of alpine docker images (#3973)
* reduce redundant code between the two alpine Dockerfiles
* reduce the docker image build times
* reduce the `n8n` image size from 1.17GB to 462MB
* reduce the `n8n-custom` image size from 671MB to 460MB
* reduce the size of npm tree by making all typing packages devDependencies

Partially resolves this ticket: N8N-3252
2022-08-31 15:25:52 +02:00
Alex Grozav
a9fa830bd7 build: Migrate from lerna to turborepo (#3796)
* feat: Added turborepo setup.

* feat: Updated nodes and credentials loading.

* feat: Removed remaining lerna references.

* fix: Updated npm run bootstrap command.

* feat: Added CI step for installing latest npm.

* chore: Removed lerna config.

* feat: Added gulp to global ci packages.

* fix: Set node as moduleResolution target in workflow. Fixed CI.

* fix: Added turborepo installation to the n8n-custom docker image.

* fix: Updated copied docker files for n8n-custom.

* fix: Added git as dependency in n8n-custom dockerfile.

* fix: Changed npm install command in n8n-custom.

* 📦 Update `package-lock.json`

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-06 22:55:51 +02:00
Jan Oberhauser
c11edb2521 🐳 Fix arm builds 2022-03-08 09:38:53 +01:00
Jan Oberhauser
c45ab96559 🐳 Update Node.js versions of Docker images to 16 2022-03-04 14:46:00 +01:00
Jan Oberhauser
f1b9bb914c Roll back for now to Node.js v14 2022-02-06 11:01:09 +01:00
Iván Ovejero
fc550ecbcb Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

*  Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Carlos Alexandro Becker
a49624a17c 🐳 Improve docker images (#1625)
* feat: docker images

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* fix: workflow

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>

* cleanup to reduce image size

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-06-18 22:54:37 +02:00
Jan Oberhauser
10a377a599 🐳 Update Node.js versions of Docker images to 14 2021-02-06 17:52:56 +01:00
Jan Oberhauser
19e2eeadcd 🐳 Add fonts to alpine based docker images 2020-11-18 21:24:51 +01:00
Jan Oberhauser
134c49dfd8 🐳 Update Node.js versions of Docker images 2020-10-26 11:03:40 +01:00
Jan Oberhauser
95068aa132 🐳 Expose port in dockerfile 2020-06-30 16:55:17 +02:00
Frane Bandov
b6b63ed48b Add full-icu to Dockerfiles 2020-03-26 18:05:23 +01:00
Michael Hirschler
fb1424cd4e uses non-root user 2020-02-05 21:28:47 +01:00
Jan Oberhauser
6b2dc25059 🐛 Fix errors with unknown nodeTypes 2020-01-04 22:51:54 -06:00
Jan Oberhauser
1b076a4763 🐳 Set n8n and system timezone separately 2019-10-29 08:27:26 +01:00
Sebastian
0e005675cc Added ca-tools to be able to configure certs from /etc/ssl/certs 2019-10-28 09:43:27 +01:00
Sebastian
83f3363846 Bumping Node version 2019-10-28 09:42:28 +01:00
Alexandre Nizoux
8861cb17c8 Added entrypoint
Setting up TZ and GENERIC_TIMEZONE env vars required to use an entrypoint script
2019-10-26 13:36:15 +02:00
Alexandre Nizoux
de3859bbf6 Add container timezone handling
Allows to change the timezone with the TZ env variable, useful for cron tasks and other things.
2019-10-25 08:34:42 +02:00
Jan Oberhauser
c1777f3c58 🐳 Change Dockerfile to use official node image 2019-09-01 18:37:55 +02:00
Jan Oberhauser
ce69b349cf 🐳 Improve automatic docker build 2019-08-10 00:07:01 +02:00
Jan Oberhauser
9cb9804eee Initial commit to release 2019-06-23 12:35:23 +02:00