Commit fa87f2a5 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Copy of the container_init

Thanks to Sébastien, I updated the Dockerfile in order to resolve issue
realted to unknown container_init. In the end, I copy this file into the
init file and give the right permission to it.

I removed as welle the symbolic link to Python3 as it seems to be the
standard on this Debian image.

I removed the command "run-allgo" as it was coming from the rails
Dockerfile which is not relevant at this stage of the image.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent 9bc9baa5
......@@ -11,14 +11,10 @@ RUN apt-getq install mariadb-client libmariadb-client-lgpl-dev-compat \
&& ln -s /usr/bin/nodejs /usr/local/bin/node \
&& npm install -g bower
# Ensure python 3 is the default version
RUN rm -f /usr/bin/python && ln -s /usr/bin/python /usr/bin/python3
# install allgo sources + run setup script
COPY . /opt/allgo
# RUN pip install -r requirements.txt
COPY init /dk/container_init
# RUN sh /opt/allgo/
USER allgo
WORKDIR /opt/allgo
# CMD ["run-allgo"]
LABEL dk.migrate_always=1
Markdown is supported
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