diff options
-rw-r--r-- | tools/docker/Dockerfile | 8 | ||||
-rw-r--r-- | tools/docker/bashrc | 5 |
2 files changed, 0 insertions, 13 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 68a62e1..109410b 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -43,15 +43,7 @@ RUN pip2 install virtualenv tox && \ # we deliberately leave the requirements files in tmp so we can # ping the user in entrypoint.sh if the change them! -COPY tools/docker/bashrc /tmp/bashrc - -# we put the code in ~/patchwork rather than ~ so that we -# can put in these bashrc snippets without dirtying the -# working directory -RUN cat /tmp/bashrc >> /home/patchwork/.bashrc - COPY tools/docker/entrypoint.sh /usr/local/bin/entrypoint.sh - ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] USER patchwork WORKDIR /home/patchwork/patchwork diff --git a/tools/docker/bashrc b/tools/docker/bashrc deleted file mode 100644 index eb2ed7d..0000000 --- a/tools/docker/bashrc +++ /dev/null @@ -1,5 +0,0 @@ -# This snippet is appended to ~/.bashrc when the container is created - -alias runserver='python3 $PROJECT_HOME/manage.py runserver 0.0.0.0:8000' -alias createsu='python3 $PROJECT_HOME/manage.py createsuperuser' - |