Skip to content

Commit

Permalink
Docker: Fix bug preventing entrypoint.sh from running in Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Braun authored and David Braun committed Mar 21, 2018
1 parent 9a0472e commit 5fd29fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ RUN echo "9f6e79e52d809a4321440f09890e94bad6843de685d50b9b41b5246421918cb5 */usr
COPY entrypoint.sh /
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ENTRYPOINT [ "/entrypoint.sh" ]

# Need to call /bin/sh explicitly to avoid problems in Windows.
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
1 change: 1 addition & 0 deletions tasks/build/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh

git clone /.git .
ln --symbolic /builds
yarn
Expand Down

0 comments on commit 5fd29fb

Please sign in to comment.