Je te remercie pour ces renseignement,
J'ai corrigé, effectivement j'avais un espace entre FROM et RUN
FROM _____
RUN apt-get update \
&& apt-get install -y git lsb-release curl \
&& sh -c 'echo "deb
http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'\
&& apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 \
&& curl -sSL '
http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xC1CF6E31E6BADE8868B172B4F42ED6FBAB17C654' | apt-key add - \
&& apt update \
&& apt install ros-melodic-desktop-full -y \
&& echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc \
&& source ~/.bashrc \
&& source /opt/ros/melodic/setup.bash \
&& apt-get zsh \
&& echo "source /opt/ros/melodic/setup.zsh" >> ~/.zshrc \
&& source ~/.zshrc \
&& apt install python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential \
&& apt install python-rosdep \
&& rosdep init \
&& rosdep update\
&& apt-get clean \
run npm install
cmd npm run start
J'ai un autre soucis, un moment pendant l'installation, il me demande mon geographic area, je pensais que le -y permettait d'éviter les dialogues. Comment dois je changer mon dockfile pour que je n'ai plus à le rentrer :
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US
Geographic area: