Skip to content

Commit

Permalink
Store japan in /jlab, use $* in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Feb 1, 2019
1 parent 06ededf commit 813fb65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENV JLAB_VERSION=2.3
ENV JLAB_ROOT=/jlab
ENV JLAB_SOFTWARE=/jlab/2.3/Linux_CentOS7.2.1511-x86_64-gcc4.8.5

ENV JAPAN=/usr/local/japan
ENV JAPAN=/jlab/japan

WORKDIR $JAPAN

Expand All @@ -29,7 +29,7 @@ RUN echo '#!/bin/bash' > /usr/local/bin/entrypoi
echo 'source $JLAB_ROOT/$JLAB_VERSION/ce/jlab.sh' >> /usr/local/bin/entrypoint.sh && \
echo 'export PATH=${JAPAN}/bin:${PATH}' >> /usr/local/bin/entrypoint.sh && \
echo 'export QWANALYSIS=${JAPAN}' >> /usr/local/bin/entrypoint.sh && \
echo 'cd $JAPAN && exec $1' >> /usr/local/bin/entrypoint.sh && \
echo 'cd $JAPAN && exec $*' >> /usr/local/bin/entrypoint.sh && \
chmod +x /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
Expand Down

0 comments on commit 813fb65

Please sign in to comment.