makeplane / plane

🔥 🔥 🔥 Open Source JIRA, Linear, Monday, and Asana Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
http://plane.so
GNU Affero General Public License v3.0
30.52k stars 1.7k forks source link

[bug]: Docker build fails for v0.14.2-dev: "error next@14.0.3: The engine "node" is incompatible with this module" #3369

Closed dmikushin closed 9 months ago

dmikushin commented 10 months ago

Is there an existing issue for this?

Current behavior

Last time I've successfully built plane Docker container image for self-hosting for version v0.13.1-dev. Today I tried v0.14.2-dev, and it fails. I'm attaching the full log below.

((v0.14.2-dev))> docker-compose build
plane-db uses an image, skipping
plane-redis uses an image, skipping
plane-minio uses an image, skipping
Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
Building api
Sending build context to Docker daemon  1.953MB

Step 1/24 : FROM python:3.11.1-alpine3.17 AS backend
 ---> ffc28cbd185e
Step 2/24 : ENV PYTHONDONTWRITEBYTECODE 1
 ---> Using cache
 ---> 54970d440cc7
Step 3/24 : ENV PYTHONUNBUFFERED 1
 ---> Using cache
 ---> ce28a6ecf7b9
Step 4/24 : ENV PIP_DISABLE_PIP_VERSION_CHECK=1
 ---> Using cache
 ---> 50d871da1f09
Step 5/24 : WORKDIR /code
 ---> Using cache
 ---> 490dcfa24025
Step 6/24 : RUN apk --no-cache add     "libpq~=15"     "libxslt~=1.1"     "nodejs-current~=19"     "xmlsec~=1.2"
 ---> Using cache
 ---> 378fa3d18e85
Step 7/24 : COPY requirements.txt ./
 ---> Using cache
 ---> 65eb46a0bb62
Step 8/24 : COPY requirements ./requirements
 ---> 907d733966c6
Step 9/24 : RUN apk add --no-cache libffi-dev
 ---> Running in 7f855273515c
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/3) Installing linux-headers (5.19.5-r0)
(2/3) Installing pkgconf (1.9.4-r0)
(3/3) Installing libffi-dev (3.4.4-r0)
Executing busybox-1.35.0-r29.trigger
OK: 83 MiB in 56 packages
Removing intermediate container 7f855273515c
 ---> 29c9da3631b0
Step 10/24 : RUN apk add --no-cache --virtual .build-deps     "bash~=5.2"     "g++~=12.2"     "gcc~=12.2"     "cargo~=1.64"     "git~=2"     "make~=4.3"     "postgresql13-dev~=13"     "libc-dev"     "linux-headers"     &&     pip install -r requirements.txt --compile --no-cache-dir     &&     apk del .build-deps
 ---> Running in cea6a0d18828
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/39) Upgrading musl (1.2.3-r4 -> 1.2.3-r5)
(2/39) Installing bash (5.2.15-r0)
Executing bash-5.2.15-r0.post-install
(3/39) Installing libstdc++-dev (12.2.1_git20220924-r4)
(4/39) Installing binutils (2.39-r2)
(5/39) Installing libgomp (12.2.1_git20220924-r4)
(6/39) Installing libatomic (12.2.1_git20220924-r4)
(7/39) Installing gmp (6.2.1-r2)
(8/39) Installing isl25 (0.25-r1)
(9/39) Installing mpfr4 (4.1.0-r0)
(10/39) Installing mpc1 (1.2.1-r1)
(11/39) Installing gcc (12.2.1_git20220924-r4)
(12/39) Installing musl-dev (1.2.3-r5)
(13/39) Installing libc-dev (0.7.2-r3)
(14/39) Installing g++ (12.2.1_git20220924-r4)
(15/39) Installing rust-stdlib (1.64.0-r2)
(16/39) Installing zstd-libs (1.5.5-r0)
(17/39) Installing llvm15-libs (15.0.7-r0)
(18/39) Installing rust (1.64.0-r2)
(19/39) Upgrading libcrypto3 (3.0.7-r2 -> 3.0.12-r2)
(20/39) Upgrading libssl3 (3.0.7-r2 -> 3.0.12-r2)
(21/39) Installing libcurl (8.5.0-r0)
(22/39) Installing cargo (1.64.0-r2)
(23/39) Installing pcre2 (10.42-r0)
(24/39) Installing git (2.38.5-r0)
(25/39) Installing make (4.3-r1)
(26/39) Upgrading libpq (15.3-r0 -> 15.5-r0)
(27/39) Installing openssl-dev (3.0.12-r2)
(28/39) Installing libpq-dev (15.5-r0)
(29/39) Installing libecpg (15.5-r0)
(30/39) Installing libecpg-dev (15.5-r0)
(31/39) Installing llvm14-libs (14.0.6-r7)
(32/39) Installing clang14-libs (14.0.6-r1)
(33/39) Installing clang14-libclang (14.0.6-r1)
(34/39) Installing clang14 (14.0.6-r1)
(35/39) Installing icu (72.1-r1)
(36/39) Installing icu-dev (72.1-r1)
(37/39) Installing llvm14 (14.0.6-r7)
(38/39) Installing postgresql13-dev (13.13-r0)
(39/39) Installing .build-deps (20240114.110520)
Executing busybox-1.35.0-r29.trigger
Executing ca-certificates-20220614-r4.trigger
OK: 1463 MiB in 91 packages
Collecting Django==4.2.7
  Downloading Django-4.2.7-py3-none-any.whl (8.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 10.4 MB/s eta 0:00:00
Collecting psycopg==3.1.12
  Downloading psycopg-3.1.12-py3-none-any.whl (171 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 171.5/171.5 kB 8.8 MB/s eta 0:00:00
Collecting djangorestframework==3.14.0
  Downloading djangorestframework-3.14.0-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 11.0 MB/s eta 0:00:00
Collecting redis==4.6.0
  Downloading redis-4.6.0-py3-none-any.whl (241 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 241.1/241.1 kB 8.9 MB/s eta 0:00:00
Collecting django-cors-headers==4.2.0
  Downloading django_cors_headers-4.2.0-py3-none-any.whl (12 kB)
Collecting whitenoise==6.5.0
  Downloading whitenoise-6.5.0-py3-none-any.whl (19 kB)
Collecting django-allauth==0.55.2
  Downloading django-allauth-0.55.2.tar.gz (781 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.2/781.2 kB 10.5 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting faker==18.11.2
  Downloading Faker-18.11.2-py3-none-any.whl (1.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 5.1 MB/s eta 0:00:00
Collecting django-filter==23.2
  Downloading django_filter-23.2-py3-none-any.whl (91 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.9/91.9 kB 5.1 MB/s eta 0:00:00
Collecting jsonmodels==2.6.0
  Downloading jsonmodels-2.6.0-py3-none-any.whl (18 kB)
Collecting djangorestframework-simplejwt==5.3.0
  Downloading djangorestframework_simplejwt-5.3.0-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.0/101.0 kB 6.6 MB/s eta 0:00:00
Collecting sentry-sdk==1.30.0
  Downloading sentry_sdk-1.30.0-py2.py3-none-any.whl (218 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 218.8/218.8 kB 6.1 MB/s eta 0:00:00
Collecting django-storages==1.14
  Downloading django_storages-1.14-py3-none-any.whl (46 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.5/46.5 kB 11.9 MB/s eta 0:00:00
Collecting django-crum==0.7.9
  Downloading django_crum-0.7.9-py2.py3-none-any.whl (4.7 kB)
Collecting google-auth==2.22.0
  Downloading google_auth-2.22.0-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.8/181.8 kB 6.0 MB/s eta 0:00:00
Collecting google-api-python-client==2.97.0
  Downloading google_api_python_client-2.97.0-py2.py3-none-any.whl (12.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.0/12.0 MB 9.6 MB/s eta 0:00:00
Collecting django-redis==5.3.0
  Downloading django_redis-5.3.0-py3-none-any.whl (30 kB)
Collecting uvicorn==0.23.2
  Downloading uvicorn-0.23.2-py3-none-any.whl (59 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.5/59.5 kB 33.5 MB/s eta 0:00:00
Collecting channels==4.0.0
  Downloading channels-4.0.0-py3-none-any.whl (28 kB)
Collecting openai==1.2.4
  Downloading openai-1.2.4-py3-none-any.whl (220 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 220.2/220.2 kB 15.6 MB/s eta 0:00:00
Collecting slack-sdk==3.21.3
  Downloading slack_sdk-3.21.3-py2.py3-none-any.whl (276 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 276.5/276.5 kB 12.7 MB/s eta 0:00:00
Collecting celery==5.3.4
  Downloading celery-5.3.4-py3-none-any.whl (421 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 421.4/421.4 kB 15.2 MB/s eta 0:00:00
Collecting django_celery_beat==2.5.0
  Downloading django_celery_beat-2.5.0-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.2/97.2 kB 35.0 MB/s eta 0:00:00
Collecting psycopg-binary==3.1.12
  Downloading psycopg_binary-3.1.12-cp311-cp311-musllinux_1_1_x86_64.whl (2.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 12.2 MB/s eta 0:00:00
Collecting psycopg-c==3.1.12
  Downloading psycopg-c-3.1.12.tar.gz (558 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 558.0/558.0 kB 12.7 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting scout-apm==2.26.1
  Downloading scout_apm-2.26.1-py3-none-any.whl (69 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.1/69.1 kB 31.0 MB/s eta 0:00:00
Collecting openpyxl==3.1.2
  Downloading openpyxl-3.1.2-py2.py3-none-any.whl (249 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 250.0/250.0 kB 14.3 MB/s eta 0:00:00
Collecting beautifulsoup4==4.12.2
  Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 kB 14.6 MB/s eta 0:00:00
Collecting dj-database-url==2.1.0
  Downloading dj_database_url-2.1.0-py3-none-any.whl (7.7 kB)
Collecting posthog==3.0.2
  Downloading posthog-3.0.2-py2.py3-none-any.whl (37 kB)
Collecting cryptography==41.0.6
  Downloading cryptography-41.0.6-cp37-abi3-musllinux_1_1_x86_64.whl (4.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 6.5 MB/s eta 0:00:00
Collecting lxml==4.9.3
  Downloading lxml-4.9.3-cp311-cp311-musllinux_1_1_x86_64.whl (7.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.7/7.7 MB 7.8 MB/s eta 0:00:00
Collecting boto3==1.28.40
  Downloading boto3-1.28.40-py3-none-any.whl (135 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135.8/135.8 kB 12.2 MB/s eta 0:00:00
Collecting gunicorn==21.2.0
  Downloading gunicorn-21.2.0-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.2/80.2 kB 29.0 MB/s eta 0:00:00
Collecting asgiref<4,>=3.6.0
  Downloading asgiref-3.7.2-py3-none-any.whl (24 kB)
Collecting sqlparse>=0.3.1
  Downloading sqlparse-0.4.4-py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 kB 12.3 MB/s eta 0:00:00
Collecting typing-extensions>=4.1
  Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Collecting pytz
  Downloading pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.5/502.5 kB 5.2 MB/s eta 0:00:00
Collecting async-timeout>=4.0.2
  Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Collecting python3-openid>=3.0.8
  Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 4.9 MB/s eta 0:00:00
Collecting requests-oauthlib>=0.3.0
  Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting requests>=2.0.0
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 7.0 MB/s eta 0:00:00
Collecting pyjwt[crypto]>=1.7
  Downloading PyJWT-2.8.0-py3-none-any.whl (22 kB)
Collecting python-dateutil>=2.4
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 5.6 MB/s eta 0:00:00
Collecting certifi
  Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.5/162.5 kB 6.4 MB/s eta 0:00:00
Collecting urllib3>=1.26.11
  Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 10.7 MB/s eta 0:00:00
Collecting cachetools<6.0,>=2.0.0
  Downloading cachetools-5.3.2-py3-none-any.whl (9.3 kB)
Collecting pyasn1-modules>=0.2.1
  Downloading pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 6.9 MB/s eta 0:00:00
Collecting rsa<5,>=3.1.4
  Downloading rsa-4.9-py3-none-any.whl (34 kB)
Collecting six>=1.9.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting urllib3>=1.26.11
  Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.8/143.8 kB 18.4 MB/s eta 0:00:00
Collecting httplib2<1.dev0,>=0.15.0
  Downloading httplib2-0.22.0-py3-none-any.whl (96 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 kB 16.0 MB/s eta 0:00:00
Collecting google-auth-httplib2>=0.1.0
  Downloading google_auth_httplib2-0.2.0-py2.py3-none-any.whl (9.3 kB)
Collecting google-api-core!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0,<3.0.0.dev0,>=1.31.5
  Downloading google_api_core-2.15.0-py3-none-any.whl (121 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.0/122.0 kB 14.7 MB/s eta 0:00:00
Collecting uritemplate<5,>=3.0.1
  Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
Collecting click>=7.0
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 14.4 MB/s eta 0:00:00
Collecting h11>=0.8
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 43.1 MB/s eta 0:00:00
Collecting anyio<4,>=3.5.0
  Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 13.1 MB/s eta 0:00:00
Collecting distro<2,>=1.7.0
  Downloading distro-1.9.0-py3-none-any.whl (20 kB)
Collecting httpx<1,>=0.23.0
  Downloading httpx-0.26.0-py3-none-any.whl (75 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.9/75.9 kB 8.8 MB/s eta 0:00:00
Collecting pydantic<3,>=1.9.0
  Downloading pydantic-2.5.3-py3-none-any.whl (381 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.9/381.9 kB 5.3 MB/s eta 0:00:00
Collecting tqdm>4
  Downloading tqdm-4.66.1-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 12.5 MB/s eta 0:00:00
Collecting billiard<5.0,>=4.1.0
  Downloading billiard-4.2.0-py3-none-any.whl (86 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.7/86.7 kB 14.5 MB/s eta 0:00:00
Collecting kombu<6.0,>=5.3.2
  Downloading kombu-5.3.5-py3-none-any.whl (200 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.0/200.0 kB 5.5 MB/s eta 0:00:00
Collecting vine<6.0,>=5.0.0
  Downloading vine-5.1.0-py3-none-any.whl (9.6 kB)
Collecting click-didyoumean>=0.3.0
  Downloading click_didyoumean-0.3.0-py3-none-any.whl (2.7 kB)
Collecting click-repl>=0.2.0
  Downloading click_repl-0.3.0-py3-none-any.whl (10 kB)
Collecting click-plugins>=1.1.1
  Downloading click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)
Collecting tzdata>=2022.7
  Downloading tzdata-2023.4-py2.py3-none-any.whl (346 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 346.6/346.6 kB 8.1 MB/s eta 0:00:00
Collecting cron-descriptor>=1.2.32
  Downloading cron_descriptor-1.4.0.tar.gz (29 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting django-timezone-field>=5.0
  Downloading django_timezone_field-6.1.0-py3-none-any.whl (12 kB)
Collecting python-crontab>=2.3.4
  Downloading python_crontab-3.0.0-py3-none-any.whl (27 kB)
Collecting psutil<6,>=5
  Downloading psutil-5.9.7.tar.gz (498 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 498.4/498.4 kB 8.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting wrapt<2.0,>=1.10
  Downloading wrapt-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl (85 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.7/85.7 kB 10.6 MB/s eta 0:00:00
Collecting et-xmlfile
  Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting soupsieve>1.2
  Downloading soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting monotonic>=1.5
  Downloading monotonic-1.6-py2.py3-none-any.whl (8.2 kB)
Collecting backoff>=1.10.0
  Downloading backoff-2.2.1-py3-none-any.whl (15 kB)
Collecting cffi>=1.12
  Downloading cffi-1.16.0-cp311-cp311-musllinux_1_1_x86_64.whl (476 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 476.4/476.4 kB 7.9 MB/s eta 0:00:00
Collecting botocore<1.32.0,>=1.31.40
  Downloading botocore-1.31.85-py3-none-any.whl (11.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 6.4 MB/s eta 0:00:00
Collecting jmespath<2.0.0,>=0.7.1
  Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting s3transfer<0.7.0,>=0.6.0
  Downloading s3transfer-0.6.2-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.8/79.8 kB 7.8 MB/s eta 0:00:00
Collecting packaging
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.0/53.0 kB 23.2 MB/s eta 0:00:00
Collecting idna>=2.8
  Downloading idna-3.6-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 14.8 MB/s eta 0:00:00
Collecting sniffio>=1.1
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting pycparser
  Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 8.6 MB/s eta 0:00:00
Collecting prompt-toolkit>=3.0.36
  Downloading prompt_toolkit-3.0.43-py3-none-any.whl (386 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 386.1/386.1 kB 6.6 MB/s eta 0:00:00
Collecting googleapis-common-protos<2.0.dev0,>=1.56.2
  Downloading googleapis_common_protos-1.62.0-py2.py3-none-any.whl (228 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 228.7/228.7 kB 7.0 MB/s eta 0:00:00
Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5
  Downloading protobuf-4.25.2-py3-none-any.whl (156 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 156.5/156.5 kB 9.4 MB/s eta 0:00:00
Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2
  Downloading pyparsing-3.1.1-py3-none-any.whl (103 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.1/103.1 kB 10.1 MB/s eta 0:00:00
Collecting httpcore==1.*
  Downloading httpcore-1.0.2-py3-none-any.whl (76 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.9/76.9 kB 13.4 MB/s eta 0:00:00
Collecting amqp<6.0.0,>=5.1.1
  Downloading amqp-5.2.0-py3-none-any.whl (50 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 50.9/50.9 kB 40.5 MB/s eta 0:00:00
Collecting pyasn1<0.6.0,>=0.4.6
  Downloading pyasn1-0.5.1-py2.py3-none-any.whl (84 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.9/84.9 kB 9.4 MB/s eta 0:00:00
Collecting annotated-types>=0.4.0
  Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
Collecting pydantic-core==2.14.6
  Downloading pydantic_core-2.14.6-cp311-cp311-musllinux_1_1_x86_64.whl (2.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 6.8 MB/s eta 0:00:00
Collecting defusedxml
  Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl (140 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.9/140.9 kB 8.0 MB/s eta 0:00:00
Collecting oauthlib>=3.0.0
  Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 8.6 MB/s eta 0:00:00
Collecting pyOpenSSL>=0.14
  Downloading pyOpenSSL-23.3.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 17.7 MB/s eta 0:00:00
Collecting urllib3-secure-extra
  Downloading urllib3_secure_extra-0.1.0-py2.py3-none-any.whl (1.4 kB)
Collecting wcwidth
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Building wheels for collected packages: django-allauth, psycopg-c, cron-descriptor, psutil
  Building wheel for django-allauth (pyproject.toml): started
  Building wheel for django-allauth (pyproject.toml): finished with status 'done'
  Created wheel for django-allauth: filename=django_allauth-0.55.2-py3-none-any.whl size=1083691 sha256=82e44f540ebf254632c27d94b12711df7727e109568c13c05709e3757e94cab9
  Stored in directory: /tmp/pip-ephem-wheel-cache-y50sgsyx/wheels/68/48/8c/3984f6e9845472f59668397676b5b01e2edb0a07e3653c7aa5
  Building wheel for psycopg-c (pyproject.toml): started
  Building wheel for psycopg-c (pyproject.toml): still running...
  Building wheel for psycopg-c (pyproject.toml): finished with status 'done'
  Created wheel for psycopg-c: filename=psycopg_c-3.1.12-cp311-cp311-linux_x86_64.whl size=2221814 sha256=36781361aaa2551cd54fa90dabb6524405bbeaea3f152ef500142e2ecf490566
  Stored in directory: /tmp/pip-ephem-wheel-cache-y50sgsyx/wheels/59/9a/6b/5957cee8664165222c99de509908d644f1802119d7fb853dc2
  Building wheel for cron-descriptor (setup.py): started
  Building wheel for cron-descriptor (setup.py): finished with status 'done'
  Created wheel for cron-descriptor: filename=cron_descriptor-1.4.0-py3-none-any.whl size=49836 sha256=a54f6a1d2182cf17416f12f20cdbcf07b44ce8d691b736c5c44753bbf56acc4f
  Stored in directory: /tmp/pip-ephem-wheel-cache-y50sgsyx/wheels/0a/13/d7/5ed5c745c54d4eec6b4ee47524dd2bfe1a2210d6f993c65b1d
  Building wheel for psutil (pyproject.toml): started
  Building wheel for psutil (pyproject.toml): finished with status 'done'
  Created wheel for psutil: filename=psutil-5.9.7-cp311-abi3-linux_x86_64.whl size=277385 sha256=0b8869b089f1509b3008e9b267c1b0d57e4355dec52ce9bebd9e5e8315629003
  Stored in directory: /tmp/pip-ephem-wheel-cache-y50sgsyx/wheels/02/f4/52/3ef799a8edbd40bfb45b88e2afbe27a4f437bdae469de710eb
Successfully built django-allauth psycopg-c cron-descriptor psutil
Installing collected packages: wcwidth, urllib3-secure-extra, pytz, monotonic, cron-descriptor, wrapt, whitenoise, vine, urllib3, uritemplate, tzdata, typing-extensions, tqdm, sqlparse, soupsieve, sniffio, slack-sdk, six, pyparsing, pyjwt, pycparser, pyasn1, psycopg-c, psycopg-binary, psutil, protobuf, prompt-toolkit, packaging, oauthlib, lxml, jmespath, idna, h11, et-xmlfile, distro, defusedxml, click, charset-normalizer, certifi, cachetools, billiard, backoff, async-timeout, asgiref, annotated-types, uvicorn, sentry-sdk, rsa, requests, redis, python3-openid, python-dateutil, pydantic-core, pyasn1-modules, psycopg, openpyxl, httplib2, httpcore, gunicorn, googleapis-common-protos, Django, click-repl, click-plugins, click-didyoumean, cffi, beautifulsoup4, anyio, amqp, requests-oauthlib, python-crontab, pydantic, posthog, kombu, jsonmodels, httpx, google-auth, faker, djangorestframework, django-timezone-field, django-storages, django-redis, django-filter, django-crum, django-cors-headers, dj-database-url, cryptography, channels, botocore, s3transfer, pyOpenSSL, openai, google-auth-httplib2, google-api-core, djangorestframework-simplejwt, celery, google-api-python-client, django_celery_beat, django-allauth, boto3, scout-apm
Successfully installed Django-4.2.7 amqp-5.2.0 annotated-types-0.6.0 anyio-3.7.1 asgiref-3.7.2 async-timeout-4.0.3 backoff-2.2.1 beautifulsoup4-4.12.2 billiard-4.2.0 boto3-1.28.40 botocore-1.31.85 cachetools-5.3.2 celery-5.3.4 certifi-2023.11.17 cffi-1.16.0 channels-4.0.0 charset-normalizer-3.3.2 click-8.1.7 click-didyoumean-0.3.0 click-plugins-1.1.1 click-repl-0.3.0 cron-descriptor-1.4.0 cryptography-41.0.6 defusedxml-0.7.1 distro-1.9.0 dj-database-url-2.1.0 django-allauth-0.55.2 django-cors-headers-4.2.0 django-crum-0.7.9 django-filter-23.2 django-redis-5.3.0 django-storages-1.14 django-timezone-field-6.1.0 django_celery_beat-2.5.0 djangorestframework-3.14.0 djangorestframework-simplejwt-5.3.0 et-xmlfile-1.1.0 faker-18.11.2 google-api-core-2.15.0 google-api-python-client-2.97.0 google-auth-2.22.0 google-auth-httplib2-0.2.0 googleapis-common-protos-1.62.0 gunicorn-21.2.0 h11-0.14.0 httpcore-1.0.2 httplib2-0.22.0 httpx-0.26.0 idna-3.6 jmespath-1.0.1 jsonmodels-2.6.0 kombu-5.3.5 lxml-4.9.3 monotonic-1.6 oauthlib-3.2.2 openai-1.2.4 openpyxl-3.1.2 packaging-23.2 posthog-3.0.2 prompt-toolkit-3.0.43 protobuf-4.25.2 psutil-5.9.7 psycopg-3.1.12 psycopg-binary-3.1.12 psycopg-c-3.1.12 pyOpenSSL-23.3.0 pyasn1-0.5.1 pyasn1-modules-0.3.0 pycparser-2.21 pydantic-2.5.3 pydantic-core-2.14.6 pyjwt-2.8.0 pyparsing-3.1.1 python-crontab-3.0.0 python-dateutil-2.8.2 python3-openid-3.2.0 pytz-2023.3.post1 redis-4.6.0 requests-2.31.0 requests-oauthlib-1.3.1 rsa-4.9 s3transfer-0.6.2 scout-apm-2.26.1 sentry-sdk-1.30.0 six-1.16.0 slack-sdk-3.21.3 sniffio-1.3.0 soupsieve-2.5 sqlparse-0.4.4 tqdm-4.66.1 typing-extensions-4.9.0 tzdata-2023.4 uritemplate-4.1.1 urllib3-1.26.18 urllib3-secure-extra-0.1.0 uvicorn-0.23.2 vine-5.1.0 wcwidth-0.2.13 whitenoise-6.5.0 wrapt-1.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/main: No such file or directory
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.17/community: No such file or directory
(1/35) Purging .build-deps (20240114.110520)
(2/35) Purging bash (5.2.15-r0)
Executing bash-5.2.15-r0.pre-deinstall
(3/35) Purging g++ (12.2.1_git20220924-r4)
(4/35) Purging cargo (1.64.0-r2)
(5/35) Purging rust (1.64.0-r2)
(6/35) Purging rust-stdlib (1.64.0-r2)
(7/35) Purging gcc (12.2.1_git20220924-r4)
(8/35) Purging binutils (2.39-r2)
(9/35) Purging libatomic (12.2.1_git20220924-r4)
(10/35) Purging libgomp (12.2.1_git20220924-r4)
(11/35) Purging git (2.38.5-r0)
(12/35) Purging make (4.3-r1)
(13/35) Purging postgresql13-dev (13.13-r0)
(14/35) Purging libecpg-dev (15.5-r0)
(15/35) Purging libecpg (15.5-r0)
(16/35) Purging clang14 (14.0.6-r1)
(17/35) Purging libstdc++-dev (12.2.1_git20220924-r4)
(18/35) Purging icu-dev (72.1-r1)
(19/35) Purging llvm14 (14.0.6-r7)
(20/35) Purging libc-dev (0.7.2-r3)
(21/35) Purging musl-dev (1.2.3-r5)
(22/35) Purging isl25 (0.25-r1)
(23/35) Purging mpc1 (1.2.1-r1)
(24/35) Purging mpfr4 (4.1.0-r0)
(25/35) Purging gmp (6.2.1-r2)
(26/35) Purging llvm15-libs (15.0.7-r0)
(27/35) Purging zstd-libs (1.5.5-r0)
(28/35) Purging libcurl (8.5.0-r0)
(29/35) Purging pcre2 (10.42-r0)
(30/35) Purging libpq-dev (15.5-r0)
(31/35) Purging openssl-dev (3.0.12-r2)
(32/35) Purging clang14-libclang (14.0.6-r1)
(33/35) Purging clang14-libs (14.0.6-r1)
(34/35) Purging llvm14-libs (14.0.6-r7)
(35/35) Purging icu (72.1-r1)
Executing busybox-1.35.0-r29.trigger
OK: 83 MiB in 56 packages
Removing intermediate container cea6a0d18828
 ---> 4fe4c6afad5a
Step 11/24 : RUN addgroup -S plane &&     adduser -S captain -G plane
 ---> Running in ce5747dcb198
Removing intermediate container ce5747dcb198
 ---> 8c5a3fbc4a0a
Step 12/24 : RUN chown captain.plane /code
 ---> Running in 22141b4f25d8
Removing intermediate container 22141b4f25d8
 ---> c2097f430cb4
Step 13/24 : USER captain
 ---> Running in dcabf8e01fa0
Removing intermediate container dcabf8e01fa0
 ---> 243e836ba304
Step 14/24 : COPY manage.py manage.py
 ---> 8534b89664fd
Step 15/24 : COPY plane plane/
 ---> fd5f352222bb
Step 16/24 : COPY templates templates/
 ---> b11884cda8db
Step 17/24 : COPY package.json package.json
 ---> b1679d90319f
Step 18/24 : USER root
 ---> Running in 9c31d83e5f26
Removing intermediate container 9c31d83e5f26
 ---> 557573cf520f
Step 19/24 : RUN apk --no-cache add "bash~=5.2"
 ---> Running in 6d493c97fa71
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz
(1/1) Installing bash (5.2.15-r0)
Executing bash-5.2.15-r0.post-install
Executing busybox-1.35.0-r29.trigger
OK: 84 MiB in 57 packages
Removing intermediate container 6d493c97fa71
 ---> c3a851615717
Step 20/24 : COPY ./bin ./bin/
 ---> 739af68cb6a2
Step 21/24 : RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
 ---> Running in 399507a69554
Removing intermediate container 399507a69554
 ---> 2aee523f7a4b
Step 22/24 : RUN chmod -R 777 /code
 ---> Running in 4c4b1984fee2
Removing intermediate container 4c4b1984fee2
 ---> 2fee261726aa
Step 23/24 : USER captain
 ---> Running in 04b74b7f24cf
Removing intermediate container 04b74b7f24cf
 ---> 8bd38d190f64
Step 24/24 : EXPOSE 8000
 ---> Running in 2b2535c67871
Removing intermediate container 2b2535c67871
 ---> c617bcca46a8
[Warning] One or more build-args [DOCKER_BUILDKIT] were not consumed
Successfully built c617bcca46a8
Successfully tagged plane-docker_api:latest
Building beat-worker
Sending build context to Docker daemon  1.953MB

Step 1/24 : FROM python:3.11.1-alpine3.17 AS backend
 ---> ffc28cbd185e
Step 2/24 : ENV PYTHONDONTWRITEBYTECODE 1
 ---> Using cache
 ---> 54970d440cc7
Step 3/24 : ENV PYTHONUNBUFFERED 1
 ---> Using cache
 ---> ce28a6ecf7b9
Step 4/24 : ENV PIP_DISABLE_PIP_VERSION_CHECK=1
 ---> Using cache
 ---> 50d871da1f09
Step 5/24 : WORKDIR /code
 ---> Using cache
 ---> 490dcfa24025
Step 6/24 : RUN apk --no-cache add     "libpq~=15"     "libxslt~=1.1"     "nodejs-current~=19"     "xmlsec~=1.2"
 ---> Using cache
 ---> 378fa3d18e85
Step 7/24 : COPY requirements.txt ./
 ---> Using cache
 ---> 65eb46a0bb62
Step 8/24 : COPY requirements ./requirements
 ---> Using cache
 ---> 907d733966c6
Step 9/24 : RUN apk add --no-cache libffi-dev
 ---> Using cache
 ---> 29c9da3631b0
Step 10/24 : RUN apk add --no-cache --virtual .build-deps     "bash~=5.2"     "g++~=12.2"     "gcc~=12.2"     "cargo~=1.64"     "git~=2"     "make~=4.3"     "postgresql13-dev~=13"     "libc-dev"     "linux-headers"     &&     pip install -r requirements.txt --compile --no-cache-dir     &&     apk del .build-deps
 ---> Using cache
 ---> 4fe4c6afad5a
Step 11/24 : RUN addgroup -S plane &&     adduser -S captain -G plane
 ---> Using cache
 ---> 8c5a3fbc4a0a
Step 12/24 : RUN chown captain.plane /code
 ---> Using cache
 ---> c2097f430cb4
Step 13/24 : USER captain
 ---> Using cache
 ---> 243e836ba304
Step 14/24 : COPY manage.py manage.py
 ---> Using cache
 ---> 8534b89664fd
Step 15/24 : COPY plane plane/
 ---> Using cache
 ---> fd5f352222bb
Step 16/24 : COPY templates templates/
 ---> Using cache
 ---> b11884cda8db
Step 17/24 : COPY package.json package.json
 ---> Using cache
 ---> b1679d90319f
Step 18/24 : USER root
 ---> Using cache
 ---> 557573cf520f
Step 19/24 : RUN apk --no-cache add "bash~=5.2"
 ---> Using cache
 ---> c3a851615717
Step 20/24 : COPY ./bin ./bin/
 ---> Using cache
 ---> 739af68cb6a2
Step 21/24 : RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
 ---> Using cache
 ---> 2aee523f7a4b
Step 22/24 : RUN chmod -R 777 /code
 ---> Using cache
 ---> 2fee261726aa
Step 23/24 : USER captain
 ---> Using cache
 ---> 8bd38d190f64
Step 24/24 : EXPOSE 8000
 ---> Using cache
 ---> c617bcca46a8
[Warning] One or more build-args [DOCKER_BUILDKIT] were not consumed
Successfully built c617bcca46a8
Successfully tagged plane-docker_beat-worker:latest
Building worker
Sending build context to Docker daemon  1.953MB

Step 1/24 : FROM python:3.11.1-alpine3.17 AS backend
 ---> ffc28cbd185e
Step 2/24 : ENV PYTHONDONTWRITEBYTECODE 1
 ---> Using cache
 ---> 54970d440cc7
Step 3/24 : ENV PYTHONUNBUFFERED 1
 ---> Using cache
 ---> ce28a6ecf7b9
Step 4/24 : ENV PIP_DISABLE_PIP_VERSION_CHECK=1
 ---> Using cache
 ---> 50d871da1f09
Step 5/24 : WORKDIR /code
 ---> Using cache
 ---> 490dcfa24025
Step 6/24 : RUN apk --no-cache add     "libpq~=15"     "libxslt~=1.1"     "nodejs-current~=19"     "xmlsec~=1.2"
 ---> Using cache
 ---> 378fa3d18e85
Step 7/24 : COPY requirements.txt ./
 ---> Using cache
 ---> 65eb46a0bb62
Step 8/24 : COPY requirements ./requirements
 ---> Using cache
 ---> 907d733966c6
Step 9/24 : RUN apk add --no-cache libffi-dev
 ---> Using cache
 ---> 29c9da3631b0
Step 10/24 : RUN apk add --no-cache --virtual .build-deps     "bash~=5.2"     "g++~=12.2"     "gcc~=12.2"     "cargo~=1.64"     "git~=2"     "make~=4.3"     "postgresql13-dev~=13"     "libc-dev"     "linux-headers"     &&     pip install -r requirements.txt --compile --no-cache-dir     &&     apk del .build-deps
 ---> Using cache
 ---> 4fe4c6afad5a
Step 11/24 : RUN addgroup -S plane &&     adduser -S captain -G plane
 ---> Using cache
 ---> 8c5a3fbc4a0a
Step 12/24 : RUN chown captain.plane /code
 ---> Using cache
 ---> c2097f430cb4
Step 13/24 : USER captain
 ---> Using cache
 ---> 243e836ba304
Step 14/24 : COPY manage.py manage.py
 ---> Using cache
 ---> 8534b89664fd
Step 15/24 : COPY plane plane/
 ---> Using cache
 ---> fd5f352222bb
Step 16/24 : COPY templates templates/
 ---> Using cache
 ---> b11884cda8db
Step 17/24 : COPY package.json package.json
 ---> Using cache
 ---> b1679d90319f
Step 18/24 : USER root
 ---> Using cache
 ---> 557573cf520f
Step 19/24 : RUN apk --no-cache add "bash~=5.2"
 ---> Using cache
 ---> c3a851615717
Step 20/24 : COPY ./bin ./bin/
 ---> Using cache
 ---> 739af68cb6a2
Step 21/24 : RUN chmod +x ./bin/takeoff ./bin/worker ./bin/beat
 ---> Using cache
 ---> 2aee523f7a4b
Step 22/24 : RUN chmod -R 777 /code
 ---> Using cache
 ---> 2fee261726aa
Step 23/24 : USER captain
 ---> Using cache
 ---> 8bd38d190f64
Step 24/24 : EXPOSE 8000
 ---> Using cache
 ---> c617bcca46a8
[Warning] One or more build-args [DOCKER_BUILDKIT] were not consumed
Successfully built c617bcca46a8
Successfully tagged plane-docker_worker:latest
Building web
Sending build context to Docker daemon  16.06MB

Step 1/40 : FROM node:18-alpine AS builder
 ---> 9752a2a43933
Step 2/40 : RUN apk add --no-cache libc6-compat
 ---> Using cache
 ---> 4556aaf46005
Step 3/40 : WORKDIR /app
 ---> Using cache
 ---> 39f149f3a4ba
Step 4/40 : RUN yarn global add turbo
 ---> Using cache
 ---> d6824f338cc1
Step 5/40 : COPY . .
 ---> 972c32cc8255
Step 6/40 : RUN turbo prune --scope=web --docker
 ---> Running in ec713ed29d9f
Generating pruned monorepo for web in /app/out
 - Added @plane/document-editor
 - Added @plane/editor-core
 - Added @plane/editor-extensions
 - Added @plane/lite-text-editor
 - Added @plane/rich-text-editor
 - Added @plane/ui
 - Added eslint-config-custom
 - Added tailwind-config-custom
 - Added tsconfig
 - Added web
Removing intermediate container ec713ed29d9f
 ---> 2b2ab8a3c11a
Step 7/40 : FROM node:18-alpine AS installer
 ---> 9752a2a43933
Step 8/40 : RUN apk add --no-cache libc6-compat
 ---> Using cache
 ---> 4556aaf46005
Step 9/40 : WORKDIR /app
 ---> Using cache
 ---> 39f149f3a4ba
Step 10/40 : ARG NEXT_PUBLIC_API_BASE_URL=""
 ---> Using cache
 ---> 6706499b2537
Step 11/40 : ARG NEXT_PUBLIC_DEPLOY_URL=""
 ---> Using cache
 ---> f93fdd9f6295
Step 12/40 : COPY .gitignore .gitignore
 ---> 6c10b51a55f3
Step 13/40 : COPY --from=builder /app/out/json/ .
 ---> 8b6fc396784c
Step 14/40 : COPY --from=builder /app/out/yarn.lock ./yarn.lock
 ---> 3350cce12980
Step 15/40 : RUN yarn install --network-timeout 500000
 ---> Running in 53bff47f5a2d
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error next@14.0.3: The engine "node" is incompatible with this module. Expected version ">=18.17.0". Got "18.16.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c yarn install --network-timeout 500000' returned a non-zero code: 1
ERROR: Service 'web' failed to build

Steps to reproduce

git checkout v0.14.2-dev
docker-compose build

Browser

Google Chrome

Version

Self-hosted

Jeanrooy commented 9 months ago

error next@14.0.3: The engine "node" is incompatible with this module. Expected version ">=18.17.0". Got "18.16.0" error Found incompatible module.

dmikushin commented 9 months ago

@Jeanrooy , yes, this is most likely due to

FROM node:18-alpine AS builder

It's not easy to customize the base Docker container at that fine-grained level, such as 18.16.0 -> 18.17.0. It's not easy to miss this problem either, if a release is getting tested. When the team tags a new release, does anyone care if it works in Docker or not?

dmikushin commented 9 months ago

The following change fixes all containers so that v0.14.2-dev builds without errors:

find . -name "Dockerfile*" -exec sed -i "s/18-alpine/18.19-alpine/g" {} \;