From 83ff5760a8da72fa3a5c8ea639c54ab117e52ff9 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 18 Aug 2015 23:41:41 -0700 Subject: [PATCH] Dockerfile comment cleanup --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 99dfddb4..0e626bf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get install -y wget -# Ubuntu 14.04's ensurepip is broken +# Ubuntu 14.04's ensurepip is broken, so it cannot create py3 virtual envs +# Use elaborate workaround: create a venv without pip, activate that environment, +# download a script to install pip into the environment # http://www.thefourtheye.in/2014/12/Python-venv-problem-with-ensurepip-in-Ubuntu.html RUN python3 -m venv appenv --without-pip @@ -48,5 +50,6 @@ WORKDIR /home/docker ENV DEFAULT_RUFFUS_HISTORY_FILE=/tmp/.{basename}.ruffus_history.sqlite -# Must use array form of ENTRYPOINT because Docker loves arbitrary and stupid rules +# Must use array form of ENTRYPOINT +# Non-array form does not append other arguments, because that is "intuitive" ENTRYPOINT ["/docker-wrapper.sh"] \ No newline at end of file