forked from LoveDaisy/tetris_game
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62a2cec
commit bfa2669
Showing
1 changed file
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,67 @@ | ||
Dockerfile.latest | ||
added line 1 | ||
added line 2 | ||
added line 3 | ||
FROM dorowu/ubuntu-desktop-lxde-vnc:bionic | ||
LABEL maintainer="seigot<[email protected]>" | ||
|
||
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 | ||
|
||
|