A local-first personal finance app
Limit yarn concurrency on 32bit (#302)
DJ Mountney58f7b09e8d05
diff --git a/docker/edge-alpine.Dockerfile b/docker/edge-alpine.Dockerfileindex 96c5bd18b4..6806d64f68 100644--- a/docker/edge-alpine.Dockerfile+++ b/docker/edge-alpine.Dockerfile@@ -3,6 +3,7 @@ RUN apk add --no-cache nodejs yarn npm python3 openssl build-base jq curlWORKDIR /appADD .yarn ./.yarnADD yarn.lock package.json .yarnrc.yml ./+RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fiRUN yarn workspaces focus --all --productionRUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fidiff --git a/docker/edge-ubuntu.Dockerfile b/docker/edge-ubuntu.Dockerfileindex 679843de86..b891e2344d 100644--- a/docker/edge-ubuntu.Dockerfile+++ b/docker/edge-ubuntu.Dockerfile@@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y openssl jqWORKDIR /appADD .yarn ./.yarnADD yarn.lock package.json .yarnrc.yml ./+RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fiRUN yarn workspaces focus --all --productionRUN mkdir /publicdiff --git a/docker/stable-alpine.Dockerfile b/docker/stable-alpine.Dockerfileindex 39212df6c7..56ce5463f8 100644--- a/docker/stable-alpine.Dockerfile+++ b/docker/stable-alpine.Dockerfile@@ -3,6 +3,7 @@ RUN apk add --no-cache nodejs yarn npm python3 openssl build-baseWORKDIR /appADD .yarn ./.yarnADD yarn.lock package.json .yarnrc.yml ./+RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fiRUN yarn workspaces focus --all --productionRUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fidiff --git a/docker/stable-ubuntu.Dockerfile b/docker/stable-ubuntu.Dockerfileindex 1f9cee4746..a8d1c98cf0 100644--- a/docker/stable-ubuntu.Dockerfile+++ b/docker/stable-ubuntu.Dockerfile@@ -3,6 +3,7 @@ RUN apt-get update && apt-get install -y opensslWORKDIR /appADD .yarn ./.yarnADD yarn.lock package.json .yarnrc.yml ./+RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2; yarn config set networkConcurrency 5; fiRUN yarn workspaces focus --all --productionFROM node:18-bullseye-slim as proddiff --git a/upcoming-release-notes/302.md b/upcoming-release-notes/302.mdnew file mode 100644index 0000000000..52597503dc--- /dev/null+++ b/upcoming-release-notes/302.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [twk3]+---++Reduce docker build failures on 32bit platforms