Skip to content

Commit a362a17

Browse files
authored
chore: fix warnings from buildx checks: FromAsCasing and LegacyKeyValueFormat (#504)
Signed-off-by: Damien Duportal <[email protected]>
1 parent b65aa06 commit a362a17

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222
ARG DEBIAN_RELEASE=bookworm-20250317
23-
FROM debian:"${DEBIAN_RELEASE}"-slim as jre-build
23+
FROM debian:"${DEBIAN_RELEASE}"-slim AS jre-build
2424

2525
SHELL ["/bin/bash", "-e", "-u", "-o", "pipefail", "-c"]
2626

windows/nanoserver/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tl
9191

9292
ARG user=jenkins
9393
ARG JENKINS_AGENT_WORK="C:/Users/${user}/Work"
94-
ENV JENKINS_AGENT_USER ${user}
95-
ENV JENKINS_AGENT_WORK ${JENKINS_AGENT_WORK}
94+
ENV JENKINS_AGENT_USER=${user}
95+
ENV JENKINS_AGENT_WORK=${JENKINS_AGENT_WORK}
9696

9797
# Setup SSH server
9898
ARG OPENSSH_VERSION=v9.8.1.0p1-Preview

windows/windowsservercore/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPref
4949

5050
ARG user=jenkins
5151
ARG JENKINS_AGENT_WORK="C:/Users/${user}/Work"
52-
ENV JENKINS_AGENT_USER ${user}
53-
ENV JENKINS_AGENT_WORK ${JENKINS_AGENT_WORK}
52+
ENV JENKINS_AGENT_USER=${user}
53+
ENV JENKINS_AGENT_WORK=${JENKINS_AGENT_WORK}
5454

5555
USER ContainerAdministrator
5656

0 commit comments

Comments
 (0)