fix warnings in Dockerfile (#18395)
Nicolas CARPi committed
Aug 23, 2024 at 18:32 UTC
a629c7bf764b5bd528203ce231eb2567e7b49f4e
1 file changed
+5
-5
packaging/docker/Dockerfile
+5
-5
@@ -3,7 +3,7 @@
3
4
# This image contains preinstalled dependencies
5
# hadolint ignore=DL3007
6
-FROM netdata/builder:v2 as builder
6
+FROM netdata/builder:v2 AS builder
7
8
# One of 'nightly' or 'stable'
9
ARG RELEASE_CHANNEL=nightly
@@ -59,7 +59,7 @@ RUN mkdir -p /app/usr/sbin/ \
59
#####################################################################
60
# This image contains preinstalled dependencies
61
# hadolint ignore=DL3007
62
-FROM netdata/base:v2 as base
62
+FROM netdata/base:v2 AS base
63
64
LABEL org.opencontainers.image.authors="Netdatabot <bot@netdata.cloud>"
65
LABEL org.opencontainers.image.url="https://netdata.cloud"
@@ -76,11 +76,11 @@ ONBUILD ENV NETDATA_OFFICIAL_IMAGE=false
76
77
ARG NETDATA_UID=201
78
ARG NETDATA_GID=201
79
-ENV DOCKER_GRP netdata
80
-ENV DOCKER_USR netdata
79
+ENV DOCKER_GRP=netdata
80
+ENV DOCKER_USR=netdata
81
# If DISABLE_TELEMETRY is set, it will disable anonymous stats collection and reporting
82
#ENV DISABLE_TELEMETRY=1
83
-ENV NETDATA_LISTENER_PORT 19999
83
+ENV NETDATA_LISTENER_PORT=19999
84
EXPOSE $NETDATA_LISTENER_PORT
85
86
ENV NETDATA_EXTRA_DEB_PACKAGES=""