Skip to content

Commit 4cb54b9

Browse files
authored
Merge pull request #387 from ros-infrastructure/workaround_apt-src_stretch
workaround sporadically missing apt-src on Debian
2 parents 18a9461 + f96614f commit 4cb54b9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ros_buildfarm/templates/release/binarydeb_create_task.Dockerfile.em

+5
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ RUN echo "@today_str"
5757
os_name=os_name,
5858
os_code_name=os_code_name,
5959
))@
60+
@(TEMPLATE(
61+
'snippet/install_apt-src.Dockerfile.em',
62+
os_name=os_name,
63+
os_code_name=os_code_name,
64+
))@
6065

6166
RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y devscripts dpkg-dev python3-apt python3-catkin-pkg-modules python3-empy python3-rosdistro-modules python3-yaml
6267

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@[if os_name == 'debian' and os_code_name == 'jessie']@
2+
@# workaround for https://github.com/ros-infrastructure/ros_buildfarm/issues/369
3+
RUN python3 -u /tmp/wrapper_scripts/apt.py update-install-clean -q -y apt-src
4+
@[end if]@

0 commit comments

Comments
 (0)