Skip to content

Commit f527cee

Browse files
authored
Merge pull request #280 from Helene/docker_syntax
Improve Dockerfile syntax
2 parents 64f1c3a + 479d90d commit f527cee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG BUILD_ENV=prod
22
ARG BASE=registry.access.redhat.com/ubi9/ubi:9.5-1736404036
33

4-
FROM $BASE as build_prod
4+
FROM $BASE AS build_prod
55
ONBUILD COPY ./requirements/requirements_ubi9.txt /root/requirements_ubi9.txt
66

7-
FROM $BASE as build_test
7+
FROM $BASE AS build_test
88
ONBUILD COPY ./requirements/requirements_ubi.in /root/requirements_ubi.in
99

10-
FROM $BASE as build_custom
10+
FROM $BASE AS build_custom
1111
ONBUILD COPY ./requirements/requirements.in /root/requirements.in
1212

1313
FROM build_${BUILD_ENV}
@@ -23,8 +23,8 @@ LABEL com.ibm.description="This tool translates the IBM Storage Scale performanc
2323
to the query requests acceptable by the Grafana integrated openTSDB plugin"
2424
LABEL com.ibm.summary="It allows the IBM Storage Scale users to perform performance monitoring for IBM Storage Scale devices using Grafana"
2525

26-
ENV PYTHONDONTWRITEBYTECODE 1
27-
ENV PYTHONUNBUFFERED 1
26+
ENV PYTHONDONTWRITEBYTECODE=1
27+
ENV PYTHONUNBUFFERED=1
2828

2929
ARG USERNAME=bridge
3030
ENV USER=$USERNAME

0 commit comments

Comments
 (0)