diff options
Diffstat (limited to '{{cookiecutter.project_name}}/docker/Dockerfile')
-rw-r--r-- | {{cookiecutter.project_name}}/docker/Dockerfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/{{cookiecutter.project_name}}/docker/Dockerfile b/{{cookiecutter.project_name}}/docker/Dockerfile new file mode 100644 index 0000000..ebbbe32 --- /dev/null +++ b/{{cookiecutter.project_name}}/docker/Dockerfile @@ -0,0 +1,24 @@ +FROM ubuntu:16.04 + +# Set a term for terminal inside the container, can't clear without it +ENV TERM screen-256color +ENV DEBIAN_FRONTEND noninteractive + + +# Update and install +RUN apt-get update && apt-get install -y \ + wget \ + locales + +# Generally a good idea to have these, extensions sometimes need them +RUN locale-gen en_US.UTF-8 +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + +# The code should be symlinked to this directory +WORKDIR /app + +# Create the entry script +ADD entry.sh /opt/ +RUN chmod 755 /opt/entry.sh |