Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile with template for breaking build cache #204

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions gazebo/7/ubuntu/xenial/gzserver7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD8
RUN . /etc/os-release \
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Fri, 16 Nov 2018 16:26:55 UTC" \
&& export SUM=021bafbd47748fa31505efcf66f499f8f9d7601c18f6d8456ec76686b76711df \
&& export FILE=/var/lib/apt/lists/packages.osrfoundation.org_gazebo_$ID-stable_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install gazebo packages
RUN apt-get update && apt-get install -q -y \
gazebo7=7.14.0-1* \
Expand Down
9 changes: 9 additions & 0 deletions gazebo/8/ubuntu/xenial/gzserver8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD8
RUN . /etc/os-release \
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Fri, 16 Nov 2018 16:26:55 UTC" \
&& export SUM=021bafbd47748fa31505efcf66f499f8f9d7601c18f6d8456ec76686b76711df \
&& export FILE=/var/lib/apt/lists/packages.osrfoundation.org_gazebo_$ID-stable_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install gazebo packages
RUN apt-get update && apt-get install -q -y \
gazebo8=8.6.0-1* \
Expand Down
9 changes: 9 additions & 0 deletions gazebo/9/ubuntu/bionic/gzserver9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD8
RUN . /etc/os-release \
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Mon, 05 Nov 2018 18:49:39 UTC" \
&& export SUM=3c94e1c056520e06ba10d425c883463b3287c6eb506d410e6c939739ee301c92 \
&& export FILE=/var/lib/apt/lists/packages.osrfoundation.org_gazebo_$ID-stable_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install gazebo packages
RUN apt-get update && apt-get install -q -y \
gazebo9=9.4.1-1* \
Expand Down
9 changes: 9 additions & 0 deletions gazebo/9/ubuntu/xenial/gzserver9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD8
RUN . /etc/os-release \
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Fri, 16 Nov 2018 16:26:55 UTC" \
&& export SUM=021bafbd47748fa31505efcf66f499f8f9d7601c18f6d8456ec76686b76711df \
&& export FILE=/var/lib/apt/lists/packages.osrfoundation.org_gazebo_$ID-stable_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install gazebo packages
RUN apt-get update && apt-get install -q -y \
gazebo9=9.4.1-1* \
Expand Down
9 changes: 9 additions & 0 deletions ros/indigo/ubuntu/trusty/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Tue, 13 Nov 2018 01:48:44 UTC" \
&& export SUM=de8d7f7d977657db972f2da900b68566e1b0dd9cb6549d545ef0b01e3d75c27a \
&& export FILE=/var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
python-rosdep \
Expand Down
9 changes: 9 additions & 0 deletions ros/kinetic/ubuntu/xenial/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Tue, 13 Nov 2018 04:34:23 UTC" \
&& export SUM=21ac875851b7ca891e6e427f51df7b14f505b17c333e05785a031ef3dad6b9af \
&& export FILE=/var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
python-rosdep \
Expand Down
9 changes: 9 additions & 0 deletions ros/lunar/debian/stretch/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Wed, 07 Nov 2018 20:29:26 UTC" \
&& export SUM=d04dcc78816835dfda9d4c037f5851b2e02052cb312ab87837b9450786332ec5 \
&& export FILE=/var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
python-rosdep \
Expand Down
9 changes: 9 additions & 0 deletions ros/lunar/ubuntu/xenial/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Tue, 13 Nov 2018 04:34:23 UTC" \
&& export SUM=21ac875851b7ca891e6e427f51df7b14f505b17c333e05785a031ef3dad6b9af \
&& export FILE=/var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
python-rosdep \
Expand Down
9 changes: 9 additions & 0 deletions ros/melodic/debian/stretch/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Wed, 07 Nov 2018 20:29:26 UTC" \
&& export SUM=d04dcc78816835dfda9d4c037f5851b2e02052cb312ab87837b9450786332ec5 \
&& export FILE=/var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
python-rosdep \
Expand Down
9 changes: 9 additions & 0 deletions ros/melodic/ubuntu/bionic/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Wed, 07 Nov 2018 20:28:21 UTC" \
&& export SUM=2de21a79d3855575334e8ac2f4c77bcd6b7a627acce0a10762abaf42bb37fe4c \
&& export FILE=/var/lib/apt/lists/packages.ros.org_ros_ubuntu_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# install bootstrap tools
RUN apt-get update && apt-get install --no-install-recommends -y \
python-rosdep \
Expand Down
9 changes: 9 additions & 0 deletions ros2/ardent/ubuntu/xenial/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
RUN . /etc/os-release \
&& echo "deb http://repo.ros2.org/$ID/main `lsb_release -sc` main" > /etc/apt/sources.list.d/ros2-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Thu, 15 Nov 2018 21:55:38 UTC" \
&& export SUM=de61d8080249e357538955cde224fe4d6ace3542201c37b8b90d20af96cd16e1 \
&& export FILE=/var/lib/apt/lists/repo.ros2.org_ubuntu_main_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# setup environment
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
Expand Down
9 changes: 9 additions & 0 deletions ros2/bouncy/ubuntu/bionic/ros-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9
RUN . /etc/os-release \
&& echo "deb http://repo.ros2.org/$ID/main `lsb_release -sc` main" > /etc/apt/sources.list.d/ros2-latest.list

# break build cache for sync
RUN apt-get update \
&& . /etc/os-release \
&& echo "Release: Thu, 15 Nov 2018 21:55:19 UTC" \
&& export SUM=d18772441d1abd08e247af6cba22207e4f207306e6b98be79c53d0c074bc2ec1 \
&& export FILE=/var/lib/apt/lists/repo.ros2.org_ubuntu_main_dists_$(lsb_release -sc)_InRelease \
&& echo "$SUM *$FILE" | sha256sum --check \
&& rm -rf /var/lib/apt/lists/*

# setup environment
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
Expand Down