Skip to content

Commit

Permalink
Fixed pid1 ownership inside fpco/stack-build docker image (#3159)
Browse files Browse the repository at this point in the history
* Fixed pid1 ownership inside fpco/stack-build docker image
  • Loading branch information
lehins authored and borsboom committed May 8, 2017
1 parent ea10057 commit 0ddbaa7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc/dockerfiles/stack-build/lts-8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ RUN stack --system-ghc --resolver=$LTS_SLUG --local-bin-path=/usr/local/bin inst
# Install proper 'pid1' init daemon
#

RUN wget -O- "https://github.com/fpco/pid1/releases/download/pid1%2F$PID1_VERSION/pid1-$PID1_VERSION-linux-x86_64.tar.gz" |tar xzf - -C /usr/local

RUN wget -O- "https://github.com/fpco/pid1/releases/download/pid1%2F$PID1_VERSION/pid1-$PID1_VERSION-linux-x86_64.tar.gz" | tar xzf - -C /usr/local && \
chown root:root /usr/local/sbin && \
chown root:root /usr/local/sbin/pid1
#
# Set up pid1 entrypoint and default command
#
Expand Down

0 comments on commit 0ddbaa7

Please sign in to comment.