2021-01-27 14:49:02 +00:00
|
|
|
FROM debian:9-slim
|
2015-09-30 18:24:45 +00:00
|
|
|
|
2015-10-03 10:37:43 +00:00
|
|
|
RUN apt-get -y update && apt-get install -y curl sudo
|
2015-09-30 18:24:45 +00:00
|
|
|
|
2021-01-27 14:51:16 +00:00
|
|
|
RUN export TERM=xterm; curl -L https://raw.githubusercontent.com/ribaguifi/django-orchestra/docker/scripts/containers/orchestra-admin | bash -s install_requirements
|
2015-09-30 18:24:45 +00:00
|
|
|
|
2015-09-30 16:26:44 +00:00
|
|
|
RUN apt-get clean
|
2015-09-30 18:24:45 +00:00
|
|
|
|
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 && \
|
2015-09-30 18:24:45 +00:00
|
|
|
adduser orchestra sudo
|