Skip to content

Commit

Permalink
Add linebreaks for long bash command
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikaverpil committed Aug 31, 2016
1 parent d4b6e62 commit 6649b6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile-py2.7
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ ENTRYPOINT cp -r /Qt.py /workspace && \
python build_caveats.py && \
python build_membership.py && \
Xvfb :99 -screen 0 1024x768x16 2>/dev/null & \
while ! ps aux | grep -q '[0]:00 Xvfb :99 -screen 0 1024x768x16'; do echo "Waiting for Xvfb..."; sleep 1; done && \
while ! ps aux | grep -q '[0]:00 Xvfb :99 -screen 0 1024x768x16'; \
do echo "Waiting for Xvfb..."; sleep 1; done && \
ps aux | grep Xvfb && \
nosetests \
--verbose \
--with-process-isolation \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile-py3.5
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ WORKDIR /workspace/Qt.py
ENTRYPOINT cp -r /Qt.py /workspace && \
python3 build_caveats.py && \
Xvfb :99 -screen 0 1024x768x16 2>/dev/null & \
while ! ps aux | grep -q '[0]:00 Xvfb :99 -screen 0 1024x768x16'; do echo "Waiting for Xvfb..."; sleep 1; done && \
while ! ps aux | grep -q '[0]:00 Xvfb :99 -screen 0 1024x768x16'; \
do echo "Waiting for Xvfb..."; sleep 1; done && \
nosetests \
--verbose \
--with-process-isolation \
Expand Down

0 comments on commit 6649b6b

Please sign in to comment.