From 51edc8b21670560f384cc7c950a4b2bab4440c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Mon, 31 Aug 2026 09:49:26 +0200 Subject: [PATCH] Fix warnings in Dockerfile used for Sama test infra MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * FromAsCasing: 'as' and 'FROM' keywords' casing do not match * LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format Signed-off-by: Aurélien Pupier --- .../org/apache/camel/test/infra/smb/services/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-infra/camel-test-infra-smb/src/main/resources/org/apache/camel/test/infra/smb/services/Dockerfile b/test-infra/camel-test-infra-smb/src/main/resources/org/apache/camel/test/infra/smb/services/Dockerfile index 95131e06f03c0..a6dccf66cdb08 100644 --- a/test-infra/camel-test-infra-smb/src/main/resources/org/apache/camel/test/infra/smb/services/Dockerfile +++ b/test-infra/camel-test-infra-smb/src/main/resources/org/apache/camel/test/infra/smb/services/Dockerfile @@ -16,9 +16,9 @@ # ARG FROMIMAGE=mirror.gcr.io/fedora:43 -FROM $FROMIMAGE as samba +FROM $FROMIMAGE AS samba LABEL maintainer="orpiske@apache.org" -ENV SAMBA_ROOT /opt/camel/samba +ENV SAMBA_ROOT=/opt/camel/samba EXPOSE 139 445 RUN dnf install -y samba && mkdir -p /data/rw /data/ro /data/no-delete /data/unix-security /data/fixed-delete /data/unix-owned ADD smb.conf /etc/samba/smb.conf