Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit f83993b

Browse files
gabreal5chdn
authored andcommitted
fix docker build (#9971)
1 parent 1ba2cb4 commit f83993b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/docker/hub/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ RUN rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*
1818
RUN groupadd -g 1000 parity \
1919
&& useradd -m -u 1000 -g parity -s /bin/sh parity
2020

21-
USER parity
2221

2322
WORKDIR /home/parity
2423

@@ -33,6 +32,9 @@ RUN chmod +x ./entrypoint.sh
3332

3433
COPY scripts/docker/hub/check_sync.sh /check_sync.sh
3534

35+
# switch to user parity here
36+
USER parity
37+
3638
# setup ENTRYPOINT
3739
EXPOSE 5001 8080 8082 8083 8545 8546 8180 30303/tcp 30303/udp
3840
ENTRYPOINT ["./entrypoint.sh"]

0 commit comments

Comments
 (0)