From d61915e6c4b3c99ab4101166554aab919dc24cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Gronowski?= Date: Mon, 12 Aug 2024 14:49:55 +0200 Subject: [PATCH] Dockerfile: Fix legacy `ENV key value` format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace legacy `ENV key value` syntax with `ENV key=value`. This fixes the build linter warning LegacyKeyValueFormat. Signed-off-by: Paweł Gronowski --- deb/debian-bookworm/Dockerfile | 4 ++-- deb/debian-bullseye/Dockerfile | 4 ++-- deb/raspbian-bookworm/Dockerfile | 4 ++-- deb/raspbian-bullseye/Dockerfile | 4 ++-- deb/ubuntu-focal/Dockerfile | 4 ++-- deb/ubuntu-jammy/Dockerfile | 4 ++-- deb/ubuntu-noble/Dockerfile | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/deb/debian-bookworm/Dockerfile b/deb/debian-bookworm/Dockerfile index 779baadb6b..25326b3524 100644 --- a/deb/debian-bookworm/Dockerfile +++ b/deb/debian-bookworm/Dockerfile @@ -15,9 +15,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian diff --git a/deb/debian-bullseye/Dockerfile b/deb/debian-bullseye/Dockerfile index 8c8fce798e..61daeedb04 100644 --- a/deb/debian-bullseye/Dockerfile +++ b/deb/debian-bullseye/Dockerfile @@ -15,9 +15,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian diff --git a/deb/raspbian-bookworm/Dockerfile b/deb/raspbian-bookworm/Dockerfile index c32a068d7d..fd3b089f82 100644 --- a/deb/raspbian-bookworm/Dockerfile +++ b/deb/raspbian-bookworm/Dockerfile @@ -15,9 +15,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian diff --git a/deb/raspbian-bullseye/Dockerfile b/deb/raspbian-bullseye/Dockerfile index 5b508149cc..09a227928c 100644 --- a/deb/raspbian-bullseye/Dockerfile +++ b/deb/raspbian-bullseye/Dockerfile @@ -15,9 +15,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian diff --git a/deb/ubuntu-focal/Dockerfile b/deb/ubuntu-focal/Dockerfile index 0d55c5f478..32628f007d 100644 --- a/deb/ubuntu-focal/Dockerfile +++ b/deb/ubuntu-focal/Dockerfile @@ -21,9 +21,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian diff --git a/deb/ubuntu-jammy/Dockerfile b/deb/ubuntu-jammy/Dockerfile index 4e63f4faf5..348e131c49 100644 --- a/deb/ubuntu-jammy/Dockerfile +++ b/deb/ubuntu-jammy/Dockerfile @@ -21,9 +21,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian diff --git a/deb/ubuntu-noble/Dockerfile b/deb/ubuntu-noble/Dockerfile index 63f45bff81..93cee15bfe 100644 --- a/deb/ubuntu-noble/Dockerfile +++ b/deb/ubuntu-noble/Dockerfile @@ -21,9 +21,9 @@ RUN apt-get update && apt-get install -y curl devscripts equivs git ENV GOPROXY=https://proxy.golang.org|direct ENV GO111MODULE=off -ENV GOPATH /go +ENV GOPATH=/go ENV GOTOOLCHAIN=local -ENV PATH $PATH:/usr/local/go/bin:$GOPATH/bin +ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ARG COMMON_FILES COPY --link ${COMMON_FILES} /root/build-deb/debian