Skip to content

Commit

Permalink
fixup! Some minor docker improvements
Browse files Browse the repository at this point in the history
Signed-off-by: g2flyer <[email protected]>
  • Loading branch information
g2flyer committed Jan 23, 2024
1 parent 48829e2 commit 3b65255
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 5 additions & 0 deletions docker/pdo_client.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/usr/bin/echo -e "\
NOTE: to setup environment, \"source /project/pdo/tools/start_client.sh\"\n\
with the arguments \"--mode build\" to build a new client environment (default mode)\n\
or \"--mode copy\" to copy one from the xfer directory"

7 changes: 1 addition & 6 deletions docker/pdo_client.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,5 @@ COPY --chown=${UNAME}:${UNAME} tools/*.sh ./
# build it!!!
RUN /project/pdo/tools/build_client.sh

RUN \
echo 'echo "\
NOTE: to setup environment, \"source /project/pdo/tools/start_client.sh\"\n\
with the arguments \"--mode build\" to build a new client environment (default mode)\n\
or \"--mode copy\" to copy one from the xfer directory"\
' > /project/pdo/.bashrc
COPY --chown=${UNAME}:${UNAME} pdo_client.bashrc /project/pdo/.bashrc
ENTRYPOINT [ "/bin/bash" ]

0 comments on commit 3b65255

Please sign in to comment.