django-orchestra/scripts/containers/Dockerfile

13 lines
420 B
Docker

FROM debian:9-slim
RUN apt-get -y update && apt-get install -y curl sudo
RUN export TERM=xterm; curl -L https://raw.githubusercontent.com/ribaguifi/django-orchestra/docker/scripts/containers/orchestra-admin | bash -s install_requirements
RUN apt-get clean
RUN useradd orchestra --shell /bin/bash && \
{ echo "orchestra:orchestra" | chpasswd; } && \
mkhomedir_helper orchestra && \
adduser orchestra sudo