This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch 0.23.0
in repository https://gitbox.apache.org/repos/asf/thrift.git

commit e8b3be25a2f2dd4f779f88d21d04636599989d1a
Author: Carel Combrink <[email protected]>
AuthorDate: Wed Apr 8 07:50:22 2026 +0200

    Fix docker warnings on ENV format
---
 build/docker/ubuntu-noble/Dockerfile | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/build/docker/ubuntu-noble/Dockerfile 
b/build/docker/ubuntu-noble/Dockerfile
index 3cfc8874b..ebf638f60 100644
--- a/build/docker/ubuntu-noble/Dockerfile
+++ b/build/docker/ubuntu-noble/Dockerfile
@@ -75,14 +75,14 @@ RUN apt-get update -yq && \
   unzip \
   valgrind \
   vim
-ENV PATH /usr/lib/llvm-6.0/bin:$PATH
+ENV PATH=/usr/lib/llvm-6.0/bin:$PATH
 
 # lib/as3 (ActionScript)
 RUN mkdir -p /usr/local/adobe/flex/4.6 && \
   cd /usr/local/adobe/flex/4.6 && \
   wget -q "http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip"; && \
   unzip flex_sdk_4.6.zip
-ENV FLEX_HOME /usr/local/adobe/flex/4.6
+ENV FLEX_HOME=/usr/local/adobe/flex/4.6
 
 # TODO: "apt-get install" without "apt-get update" in the same "RUN" step can 
cause cache issues if modified later.
 # See 
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
@@ -94,7 +94,7 @@ RUN apt-get install -y --no-install-recommends \
   qtbase5-dev \
   qtbase5-dev-tools
 
-ENV SBCL_VERSION 1.5.3
+ENV SBCL_VERSION=1.5.3
 RUN \
   `# Common Lisp (sbcl) dependencies` \
   curl --version && \
@@ -106,8 +106,8 @@ RUN \
   cd .. && \
   rm -rf sbcl*
 
-ENV D_VERSION     2.087.0
-ENV DMD_DEB       dmd_2.087.0-0_amd64.deb
+ENV D_VERSION=2.087.0
+ENV DMD_DEB=dmd_2.087.0-0_amd64.deb
 RUN \
   `# D dependencies` \
   wget -q http://downloads.dlang.org/releases/2.x/${D_VERSION}/${DMD_DEB} && \
@@ -123,11 +123,11 @@ RUN \
   mv deimos-openssl-1.1.0h/C/* /usr/include/dmd/druntime/import/C/ && \
   rm -rf deimos-openssl-1.1.0h
 
-ENV DART_VERSION 2.7.2-1
+ENV DART_VERSION=2.7.2-1
 RUN apt-get install -y --no-install-recommends \
   `# Dart dependencies` \
   dart=$DART_VERSION
-ENV PATH /usr/lib/dart/bin:$PATH
+ENV PATH=/usr/lib/dart/bin:$PATH
 
 RUN add-apt-repository ppa:dotnet/backports
 RUN apt-get install -y --no-install-recommends \
@@ -145,16 +145,16 @@ RUN apt-get update && apt-get install -y 
--no-install-recommends libncurses5-dev
   kerl build $ERLANG_OTP_VERSION && kerl install $ERLANG_OTP_VERSION 
/usr/local/lib/otp/ && . /usr/local/lib/otp/activate && \
   curl -ssLo /usr/local/bin/rebar3 
https://github.com/erlang/rebar3/releases/download/${ERLANG_REBAR_VERSION}/rebar3
 && chmod +x /usr/local/bin/rebar3 && \
   rebar3 --version
-ENV PATH /usr/local/lib/otp/bin:$PATH
+ENV PATH=/usr/local/lib/otp/bin:$PATH
 
 RUN apt-get install -y --no-install-recommends \
   `# GlibC dependencies` \
   libglib2.0-dev
 
 # golang
-ENV GOLANG_VERSION 1.24.3
-ENV GOLANG_DOWNLOAD_URL https://go.dev/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
-ENV GOLANG_DOWNLOAD_SHA256 
3333f6ea53afa971e9078895eaa4ac7204a8c6b5c68c10e6bc9a33e8e391bdd8
+ENV GOLANG_VERSION=1.24.3
+ENV GOLANG_DOWNLOAD_URL=https://go.dev/dl/go$GOLANG_VERSION.linux-amd64.tar.gz
+ENV 
GOLANG_DOWNLOAD_SHA256=3333f6ea53afa971e9078895eaa4ac7204a8c6b5c68c10e6bc9a33e8e391bdd8
 RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz && \
   echo "$GOLANG_DOWNLOAD_SHA256  golang.tar.gz" | sha256sum -c - && \
   tar -C /usr/local -xzf golang.tar.gz && \
@@ -174,7 +174,7 @@ RUN cd $HOME && \
     tar xvf neko-${NEKO_VERSION}-linux64.tar.gz && \
     rm neko-${NEKO_VERSION}-linux64.tar.gz && \
     mv neko-* /opt/neko
-ENV PATH /opt/haxe:/opt/neko:$PATH
+ENV PATH=/opt/haxe:/opt/neko:$PATH
 RUN echo "/opt/neko" > /etc/ld.so.conf.d/neko.conf && \
     ldconfig
 USER ${user}
@@ -269,7 +269,7 @@ RUN apt-get install -y --no-install-recommends \
 USER ${user}
 RUN `# Rust dependencies` \
     curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.83.0 -y
-ENV PATH /home/${user}/.cargo/bin:$PATH
+ENV PATH=/home/${user}/.cargo/bin:$PATH
 USER root
 
 # Swift on Linux for cross tests
@@ -284,7 +284,7 @@ RUN apt-get install -yq \
   mv swift-6.1-RELEASE-ubuntu24.04 /usr/share/swift && \
   rm swift-6.1-RELEASE-ubuntu24.04.tar.gz
 
-ENV PATH /usr/share/swift/usr/bin:$PATH
+ENV PATH=/usr/share/swift/usr/bin:$PATH
 RUN swift --version
 
 # Locale(s) for cpp unit tests
@@ -309,7 +309,7 @@ RUN apt-get install -y --no-install-recommends \
 #     rm -rf /tmp/* && \
 #     rm -rf /var/tmp/*
 
-ENV THRIFT_ROOT /thrift
+ENV THRIFT_ROOT=/thrift
 RUN mkdir -p $THRIFT_ROOT/src && \
     chown -R ${uid}:${uid} $THRIFT_ROOT/
 COPY Dockerfile $THRIFT_ROOT/

Reply via email to