diff options
author | Stephen Finucane <stephen@that.guru> | 2018-04-17 10:20:28 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-04-26 10:47:02 +0100 |
commit | 7484a8c044565ac8e683efdddfd726a5ecdc542a (patch) | |
tree | 0d3f8144cb2d10a9a7c72c55cf27497bfaa7105b /tools/docker | |
parent | bab2895fcfbbe32f7d18b6a680111e675ddd73dd (diff) | |
download | patchwork-7484a8c044565ac8e683efdddfd726a5ecdc542a.tar patchwork-7484a8c044565ac8e683efdddfd726a5ecdc542a.tar.gz |
docker: Remove bash aliases
These seem to be a hangover from the Vagrant days. I don't personally
use them anymore and I'm not sure anyone else does. I think they can go.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Cc: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'tools/docker')
-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' - |