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

Commit

Permalink
Do not use the home directory as the working dir in docker (#9834)
Browse files Browse the repository at this point in the history
* Do not create a home directory.

* Re-add -m flag
  • Loading branch information
fubhy authored and tomusdrw committed Nov 22, 2018
1 parent 52d5278 commit 4ee49f0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/docker/hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ RUN groupadd -g 1000 parity \

USER parity

WORKDIR /home/parity

ENV PATH "~/bin:${PATH}"

#add TARGET to docker image
COPY artifacts/x86_64-unknown-linux-gnu/$TARGET ./bin/$TARGET
COPY artifacts/x86_64-unknown-linux-gnu/$TARGET /bin/$TARGET

# Build a shell script because the ENTRYPOINT command doesn't like using ENV
RUN echo "#!/bin/bash \n ${TARGET} \$@" > ./entrypoint.sh
Expand Down

1 comment on commit 4ee49f0

@ddorgan
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be causing issues with the nightly CI, see job: https://gitlab.parity.io/parity/parity-ethereum/-/jobs/109969

Please sign in to comment.