From 74b2bca9bfae8206067d5d0ebcbc7bc971a05383 Mon Sep 17 00:00:00 2001 From: gp <370905+gparent@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:19:10 -0400 Subject: [PATCH] Fix: WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (#1426) --- images/bench/Dockerfile | 4 ++-- images/custom/Containerfile | 2 +- images/production/Containerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/images/bench/Dockerfile b/images/bench/Dockerfile index ec7078e2..b342aa1a 100644 --- a/images/bench/Dockerfile +++ b/images/bench/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:bookworm-slim as bench +FROM debian:bookworm-slim AS bench LABEL author=frappé @@ -145,7 +145,7 @@ RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | EXPOSE 8000-8005 9000-9005 6787 -FROM bench as bench-test +FROM bench AS bench-test # Print version and verify bashrc is properly sourced so that everything works # in the interactive shell and Dockerfile diff --git a/images/custom/Containerfile b/images/custom/Containerfile index e7d281fc..127e31f4 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -130,7 +130,7 @@ RUN export APP_INSTALL_ARGS="" && \ echo "{}" > sites/common_site_config.json && \ find apps -mindepth 1 -path "*/.git" | xargs rm -fr -FROM base as backend +FROM base AS backend USER frappe diff --git a/images/production/Containerfile b/images/production/Containerfile index c4eeff8b..7e207747 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -115,7 +115,7 @@ RUN bench init \ echo "{}" > sites/common_site_config.json && \ find apps -mindepth 1 -path "*/.git" | xargs rm -fr -FROM base as erpnext +FROM base AS erpnext USER frappe