Skip to content
Snippets Groups Projects
Commit 02754aa2 authored by Anton Joubert's avatar Anton Joubert
Browse files

Fix itango startup issue in Docker

If ipython hasn't been run yet the itango fails to start because of
missing profile configuration files.  Now create a profile as part
of the Docker build.
parent 70e9dfa4
No related branches found
No related tags found
No related merge requests found
...@@ -146,6 +146,9 @@ RUN useradd -ms /bin/bash tango-cs \ ...@@ -146,6 +146,9 @@ RUN useradd -ms /bin/bash tango-cs \
&& echo "tango-cs ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/tango-cs \ && echo "tango-cs ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/tango-cs \
&& chmod 0440 /etc/sudoers.d/tango-cs && chmod 0440 /etc/sudoers.d/tango-cs
# create ipython profile to so that itango doesn't fail if ipython hasn't run yet
RUN su tango-cs -c 'ipython profile create'
# Create mount point, so we can create more files here when inside container, # Create mount point, so we can create more files here when inside container,
# with external volume mounted # with external volume mounted
RUN mkdir /home/tango-cs/src \ RUN mkdir /home/tango-cs/src \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment