A local-first personal finance app
Fix WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (#538)
Lenno Nagel0f1c231d37e4
diff --git a/docker/edge-alpine.Dockerfile b/docker/edge-alpine.Dockerfileindex eece22ebcb..813f36b22f 100644--- a/docker/edge-alpine.Dockerfile+++ b/docker/edge-alpine.Dockerfile@@ -1,4 +1,4 @@-FROM alpine:3.18 as base+FROM alpine:3.18 AS baseRUN apk add --no-cache nodejs yarn npm python3 openssl build-base jq curlWORKDIR /appCOPY .yarn ./.yarn@@ -15,7 +15,7 @@ ARG GITHUB_TOKENRUN curl -L -o /tmp/desktop-client.zip --header "Authorization: Bearer ${GITHUB_TOKEN}" $(jq -r '.archive_download_url' /tmp/latest-build.json)RUN unzip /tmp/desktop-client.zip -d /public-FROM alpine:3.18 as prod+FROM alpine:3.18 AS prodRUN apk add --no-cache nodejs tiniARG USERNAME=actualdiff --git a/docker/edge-ubuntu.Dockerfile b/docker/edge-ubuntu.Dockerfileindex 500b226541..e45e9f4dd3 100644--- a/docker/edge-ubuntu.Dockerfile+++ b/docker/edge-ubuntu.Dockerfile@@ -1,4 +1,4 @@-FROM node:18-bookworm as base+FROM node:18-bookworm AS baseRUN apt-get update && apt-get install -y openssl jqWORKDIR /appCOPY .yarn ./.yarn@@ -14,7 +14,7 @@ ARG GITHUB_TOKENRUN curl -L -o /tmp/desktop-client.zip --header "Authorization: Bearer ${GITHUB_TOKEN}" $(jq -r '.archive_download_url' /tmp/latest-build.json)RUN unzip /tmp/desktop-client.zip -d /public-FROM node:18-bookworm-slim as prod+FROM node:18-bookworm-slim AS prodRUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*ARG USERNAME=actualdiff --git a/docker/stable-alpine.Dockerfile b/docker/stable-alpine.Dockerfileindex cc00678561..8ff468bada 100644--- a/docker/stable-alpine.Dockerfile+++ b/docker/stable-alpine.Dockerfile@@ -1,4 +1,4 @@-FROM alpine:3.18 as base+FROM alpine:3.18 AS baseRUN apk add --no-cache nodejs yarn npm python3 openssl build-baseWORKDIR /appCOPY .yarn ./.yarn@@ -7,7 +7,7 @@ RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2;RUN yarn workspaces focus --all --productionRUN if [ "$(uname -m)" = "armv7l" ]; then npm install bcrypt better-sqlite3 --build-from-source; fi-FROM alpine:3.18 as prod+FROM alpine:3.18 AS prodRUN apk add --no-cache nodejs tiniARG USERNAME=actualdiff --git a/docker/stable-ubuntu.Dockerfile b/docker/stable-ubuntu.Dockerfileindex 0f20d19258..6de38b509c 100644--- a/docker/stable-ubuntu.Dockerfile+++ b/docker/stable-ubuntu.Dockerfile@@ -1,4 +1,4 @@-FROM node:18-bookworm as base+FROM node:18-bookworm AS baseRUN apt-get update && apt-get install -y opensslWORKDIR /appCOPY .yarn ./.yarn@@ -6,7 +6,7 @@ COPY 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 --production-FROM node:18-bookworm-slim as prod+FROM node:18-bookworm-slim AS prodRUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*ARG USERNAME=actualdiff --git a/upcoming-release-notes/538.md b/upcoming-release-notes/538.mdnew file mode 100644index 0000000000..fd2b853516--- /dev/null+++ b/upcoming-release-notes/538.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [lnagel]+---++Fix WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match in Dockerfiles