Skip to content

Commit fe92d69

Browse files
committed
Set env variables properly
1 parent f57b8a0 commit fe92d69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ LABEL node=${NODE_VERSION}
1111

1212
ENV TZ=UTC
1313
ENV COMPOSER_ALLOW_SUPERUSER=1
14+
ENV DEBIAN_FRONTEND=noninteractive
15+
ENV LC_ALL=C.UTF-8
1416

15-
RUN export LC_ALL=C.UTF-8 && \
16-
DEBIAN_FRONTEND=noninteractive && \
17-
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
17+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1818

1919
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
2020

0 commit comments

Comments
 (0)