From af1d79510aa22d6ad1c63f0f6932b024c25286d3 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 8 Jul 2024 15:42:44 +0300 Subject: [PATCH] [#41] Fix docker warning FromAsCasing: 'as' and 'FROM' keywords' casing do not match Signed-off-by: Alex Vanin --- Dockerfile | 14 +++++++------- Dockerfile.custom | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4e78795..a10ab4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,13 +6,13 @@ ARG FROSTFS_HTTP_GATE_TAG=0.29.0 ARG FROSTFS_S3_GATE_TAG=0.29.0 ARG NEOGO_TAG=0.104.0 -FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} as neo-go -FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} as frostfs-adm -FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} as frostfs-cli -FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} as frostfs-ir -FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} as frostfs-storage -FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} as frostfs-s3-gw -FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} as frostfs-http-gw +FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} AS neo-go +FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} AS frostfs-adm +FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} AS frostfs-cli +FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} AS frostfs-ir +FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} AS frostfs-storage +FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} AS frostfs-s3-gw +FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} AS frostfs-http-gw # Executable image FROM alpine AS frostfs-aio diff --git a/Dockerfile.custom b/Dockerfile.custom index 531bdf0..6455737 100644 --- a/Dockerfile.custom +++ b/Dockerfile.custom @@ -6,13 +6,13 @@ ARG FROSTFS_HTTP_GATE_TAG=0.29.0 ARG FROSTFS_S3_GATE_TAG=0.29.0 ARG NEOGO_TAG=0.104.0 -FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} as neo-go -FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} as frostfs-adm -FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} as frostfs-cli -FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} as frostfs-ir -FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} as frostfs-storage -FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} as frostfs-s3-gw -FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} as frostfs-http-gw +FROM ${NEOGO_HUB_IMAGE}:${NEOGO_TAG} AS neo-go +FROM ${FROSTFS_HUB_IMAGE}-adm:${FROSTFS_CORE_TAG} AS frostfs-adm +FROM ${FROSTFS_HUB_IMAGE}-cli:${FROSTFS_CORE_TAG} AS frostfs-cli +FROM ${FROSTFS_HUB_IMAGE}-ir:${FROSTFS_CORE_TAG} AS frostfs-ir +FROM ${FROSTFS_HUB_IMAGE}-storage:${FROSTFS_CORE_TAG} AS frostfs-storage +FROM ${FROSTFS_HUB_IMAGE}-s3-gw:${FROSTFS_S3_GATE_TAG} AS frostfs-s3-gw +FROM ${FROSTFS_HUB_IMAGE}-http-gw:${FROSTFS_HTTP_GATE_TAG} AS frostfs-http-gw # Executable image FROM alpine AS frostfs-aio