Small changes on DockerFile
epsi-builds/msspec_python3/pipeline/head This commit looks good Details

This commit is contained in:
Sylvain Tricot 2021-06-30 12:44:06 +02:00
parent 4ec4335431
commit 70f0433bf6
1 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,10 @@ RUN make install VERBOSE=1 INSTALL_PREFIX=/opt
# Add a non-privileged user # Add a non-privileged user
RUN useradd -ms /bin/bash msspec RUN useradd -ms /bin/bash msspec
USER msspec USER msspec
WORKDIR /home/msspec
RUN echo "export PS1=\"\w\$ \"" >> .bashrc
RUN echo "$(msspec -e)" >> .bashrc
RUN mkdir data
# Run the msspec frontend command on startup # Run the msspec frontend command on startup
ENTRYPOINT ["msspec"] ENTRYPOINT ["/bin/bash"]