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

FIX solve legacy warning

parent c25aa65e
Branches
No related tags found
No related merge requests found
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
# * DEVENV Base Image for ROS * # * DEVENV Base Image for ROS *
# *********************************************************** # ***********************************************************
ARG ROS_DISTRO ARG ROS_DISTRO=
FROM osrf/ros:${ROS_DISTRO}-desktop-full as devenv FROM osrf/ros:${ROS_DISTRO}-desktop-full as devenv
ENV ROS_DISTRO "${ROS_DISTRO}" ENV ROS_DISTRO="${ROS_DISTRO}"
ARG EXT_SHELL=bash ARG EXT_SHELL=bash
ENV EXT_SHELL "${EXT_SHELL}" ENV EXT_SHELL="${EXT_SHELL}"
ENV SHELL "/bin/${EXT_SHELL}" ENV SHELL="/bin/${EXT_SHELL}"
RUN echo "Building devenv for ROS" $ROS_DISTRO "with shell" $EXT_SHELL RUN echo "Building devenv for ROS" $ROS_DISTRO "with shell" $EXT_SHELL
# Avoid warnings by switching to noninteractive # Avoid warnings by switching to noninteractive
...@@ -25,9 +25,9 @@ RUN apt-get update && apt-get install -y apt-utils ...@@ -25,9 +25,9 @@ RUN apt-get update && apt-get install -y apt-utils
RUN apt-get install -y \ RUN apt-get install -y \
locales \ locales \
&& sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8 && sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8 ENV LANG=en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE=en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL=en_US.UTF-8
# Configure apt and install base packages # Configure apt and install base packages
RUN apt-get update && \ RUN apt-get update && \
...@@ -121,7 +121,7 @@ COPY ./ros_entrypoint.sh / ...@@ -121,7 +121,7 @@ COPY ./ros_entrypoint.sh /
RUN chmod a+x /ros_entrypoint.sh RUN chmod a+x /ros_entrypoint.sh
# Set running in docker for zsh powerlevel10k # Set running in docker for zsh powerlevel10k
ENV RUNNING_IN_DOCKER true ENV RUNNING_IN_DOCKER=true
# Define entrypoint and command # Define entrypoint and command
ENTRYPOINT ["/ros_entrypoint.sh"] ENTRYPOINT ["/ros_entrypoint.sh"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment