Skip to content

Commit 1b4a437

Browse files
committed
Address a warning for old ENV syntax in Dockerfile
1 parent 661765b commit 1b4a437

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.11-slim AS base
22

3-
ENV PYTHONUNBUFFERED 1
3+
ENV PYTHONUNBUFFERED=1
44

55
#RUN dpkg --add-architecture i386
66
RUN apt-get update && \
@@ -55,9 +55,9 @@ RUN sed -i -e "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/" /etc/locale.gen && \
5555
# Installing python dependencies
5656
USER oioioi
5757

58-
ENV PATH $PATH:/home/oioioi/.local/bin/
58+
ENV PATH=$PATH:/home/oioioi/.local/bin/
5959

60-
ENV BERKELEYDB_DIR /usr
60+
ENV BERKELEYDB_DIR=/usr
6161
RUN pip3 install --user psycopg2-binary twisted uwsgi
6262
RUN pip3 install --user bsddb3==6.2.7
6363

@@ -68,7 +68,7 @@ RUN pip3 install --user -r requirements.txt filetracker[server]
6868
RUN pip3 install --user -r requirements_static.txt
6969

7070
# Installing node dependencies
71-
ENV PATH $PATH:/sio2/oioioi/node_modules/.bin
71+
ENV PATH=$PATH:/sio2/oioioi/node_modules/.bin
7272

7373
RUN npm ci
7474
RUN npm run build

0 commit comments

Comments
 (0)