django-orchestra/scripts/containers/Dockerfile

29 lines
643 B
Docker
Raw Normal View History

FROM debian:latest
2015-10-01 18:02:23 +00:00
RUN apt-get -y update && apt-get install -y \
git \
screen \
sudo \
python3 \
python3-pip \
wget \
curl \
dnsutils \
rsyslog \
nano \
ssh-client \
python3-psycopg2 \
postgresql \
nginx-full \
uwsgi \
uwsgi-plugin-python3
2015-10-01 18:02:23 +00:00
RUN export TERM=xterm; curl https://raw.githubusercontent.com/glic3rinu/django-orchestra/master/orchestra/bin/orchestra-admin | bash -s install_requirements
RUN apt-get clean
2015-10-01 18:02:23 +00:00
RUN useradd orchestra --shell /bin/bash && \
2015-10-02 11:14:24 +00:00
{ echo "orchestra:orchestra" | chpasswd; } && \
2015-10-01 18:02:23 +00:00
mkhomedir_helper orchestra && \
adduser orchestra sudo