Skip to content

Commit

Permalink
Set jenkins user id same as host.
Browse files Browse the repository at this point in the history
  • Loading branch information
artemii235 committed Apr 16, 2018
1 parent bba8795 commit 9b4db78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.clientnode
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ USER root
RUN apt-get update && apt-get install -y rinetd curl libcurl3-gnutls
RUN echo "0.0.0.0 10271 10.100.0.1 10271" >> /etc/rinetd.conf
RUN echo "0.0.0.0 8923 10.100.0.1 8923" >> /etc/rinetd.conf
RUN useradd -ms /bin/bash jenkins
RUN useradd -u 111 jenkins
USER jenkins
WORKDIR /usr/mm/etomic_build/client
CMD /usr/sbin/rinetd && rm -rf DB && ./client
4 changes: 0 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ services:
tty: true
env_file:
- .env.seed
user:
- jenkins:jenkins
networks:
default:
ipv4_address: 10.100.0.2
Expand All @@ -27,8 +25,6 @@ services:
- .:/usr/mm
links:
- seednode
user:
- jenkins:jenkins
tty: true
env_file:
- .env.client
Expand Down

0 comments on commit 9b4db78

Please sign in to comment.