Skip to content

Commit

Permalink
Use /bin/bash instead of run.sh as our ENTRYPOINT to workaround volum…
Browse files Browse the repository at this point in the history
…e mount issues on Windows (#136). r=bhearsum
  • Loading branch information
F3real authored and bhearsum committed Oct 4, 2016
1 parent c78fd06 commit f8d1ea7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -38,5 +38,8 @@ RUN npm run build

WORKDIR /app

ENTRYPOINT ["/app/uwsgi/run.sh"]
# Using /bin/bash as the entrypoint works around some volume mount issues on Windows
# where volume-mounted files do not have execute bits set.
# https://github.com/docker/compose/issues/2301#issuecomment-154450785 has additional background.
ENTRYPOINT ["/bin/bash", "/app/uwsgi/run.sh"]
CMD ["public"]
5 changes: 4 additions & 1 deletion agent/Dockerfile
Expand Up @@ -13,5 +13,8 @@ COPY run.sh MANIFEST.in setup.py version.json /app/
# test-only stuff
COPY .coveragerc requirements-test.txt run-tests.sh tox.ini version.txt /app/

ENTRYPOINT ["/app/run.sh"]
# Using /bin/bash as the entrypoint works around some volume mount issues on Windows
# where volume-mounted files do not have execute bits set.
# https://github.com/docker/compose/issues/2301#issuecomment-154450785 has additional background.
ENTRYPOINT ["/bin/bash", "/app/run.sh"]
CMD ["agent"]

1 comment on commit f8d1ea7

@TaskClusterRobot
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.