$ sudo update-grub Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-3.13.0-24-generic Found initrd image: /boot/initrd.img-3.13.0-24-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin 完了
FROM phusion/baseimage:0.9.12 MAINTAINER Masato Shimizu <ma6ato@gmail.com>
# Set correct environment variables. ENV HOME /root
# Regenerate SSH host keys. RUN /etc/my_init.d/00_regen_ssh_host_keys.sh
## Install an SSH of your choice. ADD mykey.pub /tmp/your_key RUN cat /tmp/your_key >> /root/.ssh/authorized_keys \ && chmod 600 /root/.ssh/authorized_keys \ && chmod 600 /root/.ssh/authorized_keys && rm -f /tmp/your_key
## apt-get update RUN sed -i~ -e 's/archive.ubuntu.com/ftp.jaist.ac.jp/' /etc/apt/sources.list \ && apt-get update
## Japanese Environment RUN DEBIAN_FRONTEND=noninteractive apt-get install -y language-pack-ja ENV LANG ja_JP.UTF-8 RUN update-locale LANG=ja_JP.UTF-8 RUN mv /etc/localtime /etc/localtime.org RUN ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
## Development Environment RUN mkdir -p /root/.byobu RUN update-alternatives --set editor /usr/bin/vim.basic