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

Fix CI #10

Merged
merged 7 commits into from
Aug 27, 2023
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ on:

jobs:
build_docker_image:
name: Build ${{ matrix.image }}
runs-on: ubuntu-latest
continue-on-error: true
continue-on-error: false
strategy:
matrix:
image:
Expand All @@ -26,8 +27,7 @@ jobs:
- ros_noetic
- ros_noetic_realsense
- ros_noetic_cuda11.3_tensorrt7.2
- ros_noetic_cuda11.3_torch1.10
name: build_${{ matrix.tag }}
- ros_noetic_cuda11.3_torch1.11
steps:
- name: Check out repository code
uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:

jobs:
push_docker_image:
name: push_${{ matrix.image }}
runs-on: ubuntu-latest
continue-on-error: true
continue-on-error: false
strategy:
matrix:
image:
Expand All @@ -22,8 +23,7 @@ jobs:
- ros_noetic
- ros_noetic_realsense
- ros_noetic_cuda11.3_tensorrt7.2
- ros_noetic_cuda11.3_torch1.10
name: push_${{ matrix.tag }}
- ros_noetic_cuda11.3_torch1.11
steps:
- name: Check out repository code
uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion ros_kinetic_cuda9.2_chainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -q -y \
dirmngr \
gnupg2 \
gnupg-curl \
curl \
&& rm -rf /var/lib/apt/lists/*
# Update GPG Key for CUDA
# See https://zenn.dev/takakurasato/scraps/d3e0ee6132a5c5
Expand All @@ -31,7 +32,7 @@ RUN apt-get update \
# ROS Installation
# -------------------------------------------------------
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros1-latest.list
# install bootstrap tools
Expand Down
3 changes: 2 additions & 1 deletion ros_melodic_cuda10.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN apt-get update && apt-get install -q -y \
wget \
dirmngr \
gnupg2 \
curl \
&& rm -rf /var/lib/apt/lists/*

# Upgrade packages
Expand All @@ -33,7 +34,7 @@ RUN apt-get update \
# ROS Installation
# -------------------------------------------------------
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros1-latest.list
# install bootstrap tools
Expand Down
3 changes: 2 additions & 1 deletion ros_melodic_cuda9.2_chainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -q -y \
wget \
dirmngr \
gnupg2 \
curl \
&& rm -rf /var/lib/apt/lists/*

# Upgrade packages
Expand All @@ -34,7 +35,7 @@ RUN apt-get update \
# ROS Installation
# -------------------------------------------------------
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros1-latest.list
# install bootstrap tools
Expand Down
7 changes: 5 additions & 2 deletions ros_melodic_realsense/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ RUN apt-get update \
RUN apt-get update && apt-get install -q -y \
dirmngr \
gnupg2 \
curl \
apt-transport-https \
&& rm -rf /var/lib/apt/lists/*
# setup keys
RUN sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
RUN mkdir -p /etc/apt/keyrings
RUN curl -sSf https://librealsense.intel.com/Debian/librealsense.pgp | tee /etc/apt/keyrings/librealsense.pgp > /dev/null
# setup sources.list
RUN sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u
RUN echo "deb [signed-by=/etc/apt/keyrings/librealsense.pgp] https://librealsense.intel.com/Debian/apt-repo `lsb_release -cs` main" | tee /etc/apt/sources.list.d/librealsense.list
# Install librealsense2
RUN apt-get update && apt-get install -y \
librealsense2-dkms \
Expand Down
3 changes: 2 additions & 1 deletion ros_noetic_cuda11.3_tensorrt7.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ RUN apt-get update \
RUN apt-get update && apt-get install -q -y \
dirmngr \
gnupg2 \
curl \
&& rm -rf /var/lib/apt/lists/*
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu focal main" > /etc/apt/sources.list.d/ros1-latest.list
# install bootstrap tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL maintainer="sktometometo <[email protected]>"
# - ROS noetic
# - cuda 11.3.1
# - cudnn8
# - torch 1.10
# - torch 1.11

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -23,9 +23,10 @@ RUN apt-get update \
RUN apt-get update && apt-get install -q -y \
dirmngr \
gnupg2 \
curl \
&& rm -rf /var/lib/apt/lists/*
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add -
# setup sources.list
RUN echo "deb http://packages.ros.org/ros/ubuntu focal main" > /etc/apt/sources.list.d/ros1-latest.list
# install bootstrap tools
Expand Down Expand Up @@ -108,7 +109,8 @@ RUN apt-get update -q && \
# -------------------------------------------------------
# PyTorch Installation
# -------------------------------------------------------
RUN pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
RUN pip3 install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113



# -------------------------------------------------------
Expand Down
Loading