From 60b71e63e94470dd1d32eb43d642f9027afac1ec Mon Sep 17 00:00:00 2001 From: Michael Carlstrom Date: Fri, 9 Feb 2024 01:43:02 -0500 Subject: [PATCH] hado lint :) --- .hadolint.yaml | 2 ++ Dockerfile | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 .hadolint.yaml diff --git a/.hadolint.yaml b/.hadolint.yaml new file mode 100644 index 00000000..4f3c0af4 --- /dev/null +++ b/.hadolint.yaml @@ -0,0 +1,2 @@ +ignored: + - SC1091 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 52ec5c4e..601557db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,14 +30,10 @@ 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 \ -# shellcheck source=/dev/null - source /root/rov-24/.vscode/rov_setup.sh \ +RUN source /root/rov-24/.vscode/rov_setup.sh \ # Installs ROS and python dependencies -# shellcheck source=/dev/null && 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