Skip to content

Commit

Permalink
shellcheck?
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Feb 8, 2024
1 parent f5e5593 commit a9bcc5d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,16 @@ WORKDIR /root/rov-24
COPY . .

# TODO for future nerd to do this via ENTRYPOINT which be better but, I could not get ENTRYPOINT to play with VsCODE.
RUN source /root/rov-24/.vscode/rov_setup.sh

# shellcheck source=rov-24/.vscode/rov_setup.sh
RUN source /root/rov-24/.vscode/rov_setup.sh \
# Installs ROS and python dependencies
RUN source /root/rov-24/.vscode/install_dependencies.sh

RUN source /opt/ros/iron/setup.bash \
&& PYTHONWARNINGS=ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources; export PYTHONWARNINGS\
&& colcon build --symlink-install
# shellcheck source=rov-24/.vscode/install_dependencies.sh
&& source /root/rov-24/.vscode/install_dependencies.sh \
# Builds package
# shellcheck source=/dev/null
&& source /opt/ros/iron/setup.bash \
&& PYTHONWARNINGS=ignore:::setuptools.command.install,ignore:::setuptools.command.easy_install,ignore:::pkg_resources; export PYTHONWARNINGS\
&& colcon build --symlink-install

# https://github.com/hadolint/hadolint/wiki/DL4006
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
Expand Down

0 comments on commit a9bcc5d

Please sign in to comment.