diff --git a/docker/ccache/Dockerfile b/docker/ccache/Dockerfile index ffd46a0e2..a50f48172 100644 --- a/docker/ccache/Dockerfile +++ b/docker/ccache/Dockerfile @@ -16,6 +16,8 @@ ENV CMAKE_CXX_COMPILER_LAUNCHER=ccache RUN ccache -s # srcフォルダ内のフォルダを削除 -RUN cd .. && colcon build --symlink-install --cmake-args '-DCMAKE_BUILD_TYPE=Release' +RUN cd .. && \ + source /opt/ros/humble/setup.bash && \ + colcon build --symlink-install --cmake-args '-DCMAKE_BUILD_TYPE=Release' RUN cd .. && find . -mindepth 1 -type d -exec rm -rf {} +