Skip to content

Commit

Permalink
fix line break in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Jan 23, 2025
1 parent 73f3b07 commit 2fcee93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ RUN echo "set -e" > $WORKSPACE/.install-dependencies.sh && \
# add custom script to run before dependency installation to install script
ARG BEFORE_DEPENDENCY_INSTALLATION_SCRIPT="docker/before_dependency_installation.sh"
RUN if [[ -f src/target/${BEFORE_DEPENDENCY_INSTALLATION_SCRIPT} ]]; then \
cat src/target/${BEFORE_DEPENDENCY_INSTALLATION_SCRIPT} >> $WORKSPACE/.install-dependencies.sh ; \
cat src/target/${BEFORE_DEPENDENCY_INSTALLATION_SCRIPT} >> $WORKSPACE/.install-dependencies.sh && \
echo "" >> $WORKSPACE/.install-dependencies.sh ; \
fi
# add list of rosdep dependencies to install script
Expand Down Expand Up @@ -148,6 +149,9 @@ RUN if [[ $ENABLE_RECURSIVE_AFTER_DEPENDENCY_INSTALLATION_SCRIPT == 'true' ]]; t
cat src/target/${AFTER_DEPENDENCY_INSTALLATION_SCRIPT} >> $WORKSPACE/.install-dependencies.sh ; \
fi
# log install script
RUN cat $WORKSPACE/.install-dependencies.sh
# remove additional-files folder from copied repository content to avoid redundancies
ARG ADDITIONAL_FILES_DIR="docker/additional-files"
RUN rm -rf src/target/${ADDITIONAL_FILES_DIR}
Expand Down

0 comments on commit 2fcee93

Please sign in to comment.