Skip to content
Snippets Groups Projects
Commit dba451ea authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

Add default values to ARGs

parent 164074c8
No related branches found
No related tags found
No related merge requests found
ARG ROS_DISTRO
FROM osrf/ros:${ROS_DISTRO}-desktop-full
ARG EXT_SHELL
ARG EXT_SHELL=bash
RUN echo "Building devenv for ROS" $ROS_DISTRO "with shell" $EXT_SHELL
# Avoid warnings by switching to noninteractive
......@@ -125,7 +125,7 @@ RUN rm -rf *
RUN apt-get --reinstall install -y libnotify-bin notify-osd
ARG PEAK_DRIVER=install
ARG PEAK_DRIVER=none
RUN if [ "$PEAK_DRIVER" = "install" ]; \
then \
apt-get update && apt-get install -y udev libpopt-dev linux-headers-$(uname -r) \
......@@ -166,7 +166,7 @@ ENV DEBIAN_FRONTEND=
ENV ROS_LOCALHOST_ONLY=1
ENV RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ARG SHELL
ARG SHELL=/bin/bash
ENV SHELL="${SHELL}"
ENTRYPOINT ["/ros_entrypoint.sh"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment