Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions template/python3-flask-armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ RUN chown -R app:app ../

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN if [ "$TEST_ENABLED" == "false" ]; then \
echo "skipping tests";\
else \
eval "$TEST_COMMAND"; \
fi
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

WORKDIR /home/app/

Expand Down
6 changes: 1 addition & 5 deletions template/python3-flask-debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ RUN chown -R app:app ../

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN if [ "$TEST_ENABLED" == "false" ]; then \
echo "skipping tests";\
else \
eval "$TEST_COMMAND"; \
fi
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

WORKDIR /home/app/

Expand Down
6 changes: 1 addition & 5 deletions template/python3-flask/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@ RUN chown -R app:app ../

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN if [ "$TEST_ENABLED" == "false" ]; then \
echo "skipping tests";\
else \
eval "$TEST_COMMAND"; \
fi
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

WORKDIR /home/app/

Expand Down
6 changes: 1 addition & 5 deletions template/python3-http-armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,7 @@ RUN chown -R app:app ../

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN if [ "$TEST_ENABLED" == "false" ]; then \
echo "skipping tests";\
else \
eval "$TEST_COMMAND"; \
fi
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

WORKDIR /home/app/

Expand Down
8 changes: 2 additions & 6 deletions template/python3-http-debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ RUN chown -R app:app ../

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN if [ "$TEST_ENABLED" == "false" ]; then \
echo "skipping tests";\
else \
eval "$TEST_COMMAND"; \
fi
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

WORKDIR /home/app/

Expand All @@ -55,4 +51,4 @@ ENV upstream_url="http://127.0.0.1:5000"

HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1

CMD ["fwatchdog"]
CMD ["fwatchdog"]
6 changes: 1 addition & 5 deletions template/python3-http/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ RUN chown -R app:app ../

ARG TEST_COMMAND=tox
ARG TEST_ENABLED=true
RUN if [ "$TEST_ENABLED" == "false" ]; then \
echo "skipping tests";\
else \
eval "$TEST_COMMAND"; \
fi
RUN [ "$TEST_ENABLED" = "false" ] && echo "skipping tests" || eval "$TEST_COMMAND"

WORKDIR /home/app/

Expand Down