mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
Fix WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (#538)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.18 as base
|
||||
FROM alpine:3.18 AS base
|
||||
RUN apk add --no-cache nodejs yarn npm python3 openssl build-base jq curl
|
||||
WORKDIR /app
|
||||
COPY .yarn ./.yarn
|
||||
@@ -15,7 +15,7 @@ ARG GITHUB_TOKEN
|
||||
RUN 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 prod
|
||||
RUN apk add --no-cache nodejs tini
|
||||
|
||||
ARG USERNAME=actual
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:18-bookworm as base
|
||||
FROM node:18-bookworm AS base
|
||||
RUN apt-get update && apt-get install -y openssl jq
|
||||
WORKDIR /app
|
||||
COPY .yarn ./.yarn
|
||||
@@ -14,7 +14,7 @@ ARG GITHUB_TOKEN
|
||||
RUN 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 prod
|
||||
RUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG USERNAME=actual
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.18 as base
|
||||
FROM alpine:3.18 AS base
|
||||
RUN apk add --no-cache nodejs yarn npm python3 openssl build-base
|
||||
WORKDIR /app
|
||||
COPY .yarn ./.yarn
|
||||
@@ -7,7 +7,7 @@ RUN if [ "$(uname -m)" = "armv7l" ]; then yarn config set taskPoolConcurrency 2;
|
||||
RUN yarn workspaces focus --all --production
|
||||
RUN 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 prod
|
||||
RUN apk add --no-cache nodejs tini
|
||||
|
||||
ARG USERNAME=actual
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:18-bookworm as base
|
||||
FROM node:18-bookworm AS base
|
||||
RUN apt-get update && apt-get install -y openssl
|
||||
WORKDIR /app
|
||||
COPY .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; fi
|
||||
RUN yarn workspaces focus --all --production
|
||||
|
||||
FROM node:18-bookworm-slim as prod
|
||||
FROM node:18-bookworm-slim AS prod
|
||||
RUN apt-get update && apt-get install tini && apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ARG USERNAME=actual
|
||||
|
||||
6
upcoming-release-notes/538.md
Normal file
6
upcoming-release-notes/538.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [lnagel]
|
||||
---
|
||||
|
||||
Fix WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match in Dockerfiles
|
||||
Reference in New Issue
Block a user