Commit 1ff796b1 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Update of the packages installation and container initialisation

I updated the packages installed in order to:

- remove some unecessary packages related mainly to Rails
- add packages relation to python 3 and Django

I updated the container initialisation that seems to fit the current
practice with other container initialisation process.

One thing to mention. Supervisor can't work with Python 3. Anthony
suggested to install Python 2 just to make Supervisor happy and run
Gunicorn/Python 3 as such.

Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent 571c0f4b
FROM allgo/base-debian
# install system packages + bower
# install system packages
RUN apt-getq install mariadb-client libmariadb-client-lgpl-dev-compat \
redis-server curl imagemagick git ca-certificates \
gcc g++ make libc6-dev file libffi-dev libgdbm-dev libgmp-dev \
libncurses5-dev libncursesw5-dev libreadline6-dev libssl-dev \
libyaml-dev openssl procps systemtap-sdt-dev zlib1g-dev \
nodejs npm supervisor nginx-light zip \
python3 python3-pip \
&& ln -s /usr/bin/nodejs /usr/local/bin/node \
&& npm install -g bower
supervisor nginx-light zip \
python3 python3-pip python3-django
COPY . /opt/allgo
COPY init /dk/container_init
# RUN sh /opt/allgo/
RUN sh /opt/allgo/setup/dk/container_init
USER allgo
WORKDIR /opt/allgo
LABEL dk.migrate_always=1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment