Concatenated the last RUN in a single one.
epsi-builds/msspec_python3/pipeline/head This commit looks good Details

This commit is contained in:
Sylvain Tricot 2021-07-02 18:21:10 +02:00
parent ac3b0a2ad5
commit d520405a73
1 changed files with 7 additions and 3 deletions

View File

@ -18,9 +18,13 @@ RUN make install VERBOSE=1 INSTALL_PREFIX=/opt
RUN useradd -ms /bin/bash msspec RUN useradd -ms /bin/bash msspec
USER msspec USER msspec
WORKDIR /home/msspec WORKDIR /home/msspec
RUN echo "export PS1=\"\w\$ \"" >> .bashrc
RUN echo "$(msspec -e)" >> .bashrc # Customize a bit the prompt and load the msspec virtualenv
RUN mkdir data RUN echo "alias idle=\"python -m idlelib.idle 2>/dev/null\"" >> .bashrc && \
echo "export PS1=\"\w\$ \"" >> .bashrc && \
echo "$(msspec -e)" >> .bashrc && \
mkdir data && \
cp /code/doc/source/tutorials/copper/Cu_simple.py data/example.py
# Run the msspec frontend command on startup # Run the msspec frontend command on startup
ENTRYPOINT ["/bin/bash"] ENTRYPOINT ["/bin/bash"]