Skip to content

Commit 12865fd

Browse files
authored
Update Dockerfile
1 parent f4d2024 commit 12865fd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker/ros2_2021.4/ros2_galactic/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
from osrf/ros:galactic-desktop
44

55
# setting proxy env --option
6-
ENV http_proxy=http://child-prc.intel.com:913
7-
ENV https_proxy=http://child-prc.intel.com:913
6+
# If needed, enable the below ENV setting by correct proxies.
7+
# ENV http_proxy=your_proxy
8+
# ENV https_proxy=your_proxy
89

910
# maintainer information
1011
LABEL maintainer="Pengqiang Li <[email protected]>"
@@ -26,7 +27,9 @@ RUN source /opt/intel/openvino_2021/bin/setupvars.sh
2627
RUN apt-get install -y --no-install-recommends \
2728
software-properties-common
2829
# https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
29-
RUN apt-key adv --keyserver-options http-proxy=http://child-prc.intel.com:913/ --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver-options http-proxy=http://child-prc.intel.com:913/ --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
30+
# Make sure you set http-proxy in below commands if your environment needs.
31+
# RUN apt-key adv --keyserver-options http-proxy=your_proxy --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver-options http-proxy=your_proxy --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
32+
RUN apt-key adv --keyserver-options --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || apt-key adv --keyserver-options --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
3033
RUN add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo focal main" -u \
3134
&& apt-get install -y --no-install-recommends \
3235
librealsense2-dkms \

0 commit comments

Comments
 (0)