From bfa2669f9ac1f62e269eb2e58ed682be3c071942 Mon Sep 17 00:00:00 2001 From: "gitauto-ai[bot]" <161652217+gitauto-ai[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 00:13:17 +0000 Subject: [PATCH] Update docker/Dockerfile. --- docker/Dockerfile | 68 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index feb8875..961f723 120000 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1 +1,67 @@ -Dockerfile.latest \ No newline at end of file + added line 1 + added line 2 + added line 3 +FROM dorowu/ubuntu-desktop-lxde-vnc:bionic +LABEL maintainer="seigot" + +RUN apt-get update -q && \ + apt-get upgrade -yq && \ + apt-get install -yq wget curl git build-essential vim sudo lsb-release locales bash-completion tzdata gosu && \ + rm -rf /var/lib/apt/lists/* +RUN useradd --create-home --home-dir /home/ubuntu --shell /bin/bash --user-group --groups adm,sudo ubuntu && \ + echo ubuntu:ubuntu | chpasswd && \ + echo "ubuntu ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers + +#RUN mkdir -p /tmp/ros_setup_scripts_ubuntu +#ADD ros-melodic-desktop.sh /tmp/ros_setup_scripts_ubuntu/ros-melodic-desktop.sh +#RUN gosu ubuntu /tmp/ros_setup_scripts_ubuntu/ros-melodic-desktop.sh && \ +# rm -rf /var/lib/apt/lists/* +ENV USER ubuntu + +# update +RUN apt-get update ;\ + apt-get -y upgrade ; + +# environment setting +#RUN locale-gen en_US.UTF-8 +#ENV LANG en_US.UTF-8 +#ENV LANGUAGE en_US:en +#ENV LC_ALL en_US.UTF-8 +RUN locale-gen ja_JP.UTF-8 +ENV LANG ja_JP.UTF-8 +ENV LANGUAGE ja_JP:jp +ENV LC_ALL ja_JP.UTF-8 + +# tools +RUN apt-get update ;\ + apt-get install -y \ + sudo \ + lsb-release \ + terminator \ + gnome-terminal \ + emacs25; + +# turtlebot3 +#RUN apt-get update ;\ +# apt-get install -y \ +# python-rosdep python-rosinstall python-rosinstall-generator python-wstool build-essential \ +# python-pip \ +# ros-melodic-turtlebot3 ros-melodic-turtlebot3-msgs ros-melodic-turtlebot3-simulations; \ +# pip install requests flask; + +# auto setup +#ADD auto_setup_for_Linux.sh / +#RUN chmod +x /auto_setup_for_Linux.sh +#RUN /auto_setup_for_Linux.sh + +# command +ADD start.sh / +RUN chmod +x /start.sh +RUN /start.sh + +# install editor +ADD install_editor.sh / +RUN chmod +x /install_editor.sh +RUN /install_editor.sh + +