Skip to content

Commit 66e0ebc

Browse files
committed
Move cache buster to the relevant file
1 parent 7989f61 commit 66e0ebc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
FROM ros:noetic
22

3-
# Increment DEPSCACHE when there's a known change to deps.rosinstall
4-
ARG DEPSCACHE=1
5-
63
WORKDIR /app
74

85

@@ -56,7 +53,7 @@ RUN python3 -m pip install -r python3-requirements.txt
5653

5754
# Clone third-party dependencies from VCS
5855
COPY deps/deps.rosinstall ./
59-
RUN echo Installing ROS dependencies:${DEPSCACHE} \
56+
RUN echo Installing ROS dependencies \
6057
&& mkdir ./src \
6158
&& vcs import src < deps.rosinstall
6259

deps/deps.rosinstall

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Cache buster: 1 -- increment to force rebuild of the container image layer
2+
13
- git:
24
local-name: ds_base
35
uri: https://bitbucket.org/whoidsl/ds_base.git

0 commit comments

Comments
 (0)