From 4f69fcc3fd9af7f902d5695e676f9bf83afc07b8 Mon Sep 17 00:00:00 2001 From: Alex Anderson <191496+alxndrsn@users.noreply.github.com> Date: Thu, 19 Sep 2024 15:35:02 +0300 Subject: [PATCH] Dockerfiles: make keyword case consistent (#714) Resolves warnings: - FromAsCasing: 'as' and 'FROM' keywords' casing do not match --- nginx.dockerfile | 2 +- service.dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.dockerfile b/nginx.dockerfile index 7cd95395..65cad486 100644 --- a/nginx.dockerfile +++ b/nginx.dockerfile @@ -1,4 +1,4 @@ -FROM node:20.12.2-slim as intermediate +FROM node:20.12.2-slim AS intermediate RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/service.dockerfile b/service.dockerfile index ba15b0c4..96f0b91b 100644 --- a/service.dockerfile +++ b/service.dockerfile @@ -2,7 +2,7 @@ ARG node_version=20.12.2 -FROM node:${node_version}-slim as pgdg +FROM node:${node_version}-slim AS pgdg RUN apt-get update \ && apt-get install -y --no-install-recommends \ ca-certificates \ @@ -17,7 +17,7 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ $(grep -oP 'VERSION_CODEN -FROM node:${node_version}-slim as intermediate +FROM node:${node_version}-slim AS intermediate RUN apt-get update \ && apt-get install -y --no-install-recommends \ git \