Skip to content

chore: Update obsolete ENV syntax in Dockerfile #811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chronograf/1.10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN set -ex && \
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys "$key" ; \
done

ENV CHRONOGRAF_VERSION 1.10.7
ENV CHRONOGRAF_VERSION=1.10.7
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
Expand Down
14 changes: 7 additions & 7 deletions influxdb/2.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN groupadd -r influxdb --gid=1000 && \
useradd -r -g influxdb --uid=1000 --create-home --home-dir=/home/influxdb --shell=/bin/bash influxdb

# Install gosu for easy step-down from root
ENV GOSU_VER 1.16
ENV GOSU_VER=1.16
RUN case "$(dpkg --print-architecture)" in \
*amd64) arch=amd64 ;; \
*arm64) arch=arm64 ;; \
Expand All @@ -49,7 +49,7 @@ RUN case "$(dpkg --print-architecture)" in \
gosu nobody true

# Install the influxd server
ENV INFLUXDB_VERSION 2.7.12
ENV INFLUXDB_VERSION=2.7.12
RUN case "$(dpkg --print-architecture)" in \
*amd64) arch=amd64 ;; \
*arm64) arch=arm64 ;; \
Expand All @@ -71,7 +71,7 @@ RUN case "$(dpkg --print-architecture)" in \
influxd version

# Install the influx CLI
ENV INFLUX_CLI_VERSION 2.7.5
ENV INFLUX_CLI_VERSION=2.7.5
RUN case "$(dpkg --print-architecture)" in \
*amd64) arch=amd64 ;; \
*arm64) arch=arm64 ;; \
Expand Down Expand Up @@ -106,7 +106,7 @@ CMD ["influxd"]

EXPOSE 8086

ENV INFLUX_CONFIGS_PATH /etc/influxdb2/influx-configs
ENV INFLUXD_INIT_PORT 9999
ENV INFLUXD_INIT_PING_ATTEMPTS 600
ENV DOCKER_INFLUXDB_INIT_CLI_CONFIG_NAME default
ENV INFLUX_CONFIGS_PATH=/etc/influxdb2/influx-configs
ENV INFLUXD_INIT_PORT=9999
ENV INFLUXD_INIT_PING_ATTEMPTS=600
ENV DOCKER_INFLUXDB_INIT_CLI_CONFIG_NAME=default
12 changes: 6 additions & 6 deletions influxdb/2.7/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN addgroup -S -g 1000 influxdb && \
chown -R influxdb:influxdb /home/influxdb

# Install the infuxd server
ENV INFLUXDB_VERSION 2.7.12
ENV INFLUXDB_VERSION=2.7.12
RUN case "$(apk --print-arch)" in \
x86_64) arch=amd64 ;; \
aarch64) arch=arm64 ;; \
Expand All @@ -53,7 +53,7 @@ RUN case "$(apk --print-arch)" in \
influxd version

# Install the influx CLI
ENV INFLUX_CLI_VERSION 2.7.5
ENV INFLUX_CLI_VERSION=2.7.5
RUN case "$(apk --print-arch)" in \
x86_64) arch=amd64 ;; \
aarch64) arch=arm64 ;; \
Expand Down Expand Up @@ -88,7 +88,7 @@ CMD ["influxd"]

EXPOSE 8086

ENV INFLUX_CONFIGS_PATH /etc/influxdb2/influx-configs
ENV INFLUXD_INIT_PORT 9999
ENV INFLUXD_INIT_PING_ATTEMPTS 600
ENV DOCKER_INFLUXDB_INIT_CLI_CONFIG_NAME default
ENV INFLUX_CONFIGS_PATH=/etc/influxdb2/influx-configs
ENV INFLUXD_INIT_PORT=9999
ENV INFLUXD_INIT_PING_ATTEMPTS=600
ENV DOCKER_INFLUXDB_INIT_CLI_CONFIG_NAME=default
2 changes: 1 addition & 1 deletion kapacitor/1.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
awk 'f{if(sub(/^#/,"",$0)==0){f=0}};/^# enable bash completion/{f=1};{print;}' /etc/bash.bashrc > /etc/bash.bashrc.new && \
mv /etc/bash.bashrc.new /etc/bash.bashrc

ENV KAPACITOR_VERSION 1.7.7
ENV KAPACITOR_VERSION=1.7.7

RUN set -eux && \
ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
Expand Down
2 changes: 1 addition & 1 deletion kapacitor/1.7/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
RUN apk add --no-cache ca-certificates su-exec && \
update-ca-certificates

ENV KAPACITOR_VERSION 1.7.7
ENV KAPACITOR_VERSION=1.7.7

RUN set -ex && \
mkdir ~/.gnupg; \
Expand Down
2 changes: 1 addition & 1 deletion telegraf/1.35/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN set -ex && \
gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys "$key" ; \
done

ENV TELEGRAF_VERSION 1.35.2
ENV TELEGRAF_VERSION=1.35.2
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
Expand Down
2 changes: 1 addition & 1 deletion telegraf/1.35/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata setpriv libcap && \
update-ca-certificates

ENV TELEGRAF_VERSION 1.35.2
ENV TELEGRAF_VERSION=1.35.2

RUN ARCH= && \
case "$(apk --print-arch)" in \
Expand Down
2 changes: 1 addition & 1 deletion telegraf/nightly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends iputils-ping snmp procps lm-sensors libcap2-bin && \
rm -rf /var/lib/apt/lists/*

ENV TELEGRAF_VERSION nightly
ENV TELEGRAF_VERSION=nightly
RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) ARCH='amd64';; \
Expand Down
2 changes: 1 addition & 1 deletion telegraf/nightly/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN echo 'hosts: files dns' >> /etc/nsswitch.conf
RUN apk add --no-cache iputils ca-certificates net-snmp-tools procps lm_sensors tzdata su-exec libcap && \
update-ca-certificates

ENV TELEGRAF_VERSION nightly
ENV TELEGRAF_VERSION=nightly

RUN ARCH= && \
case "$(apk --print-arch)" in \
Expand Down