Skip to content

Instantly share code, notes, and snippets.

@netmarkjp
Last active August 29, 2015 14:00
Show Gist options
  • Save netmarkjp/11133110 to your computer and use it in GitHub Desktop.
Save netmarkjp/11133110 to your computer and use it in GitHub Desktop.
FROM centos
RUN yum -y update
RUN yum -y groupinstall core
RUN yum -y groupinstall base
RUN echo 'p@ssw0rd' | passwd --stdin root
RUN service sshd start
RUN service sshd stop
RUN touch /etc/sysconfig/network
RUN rm -f /etc/localtime ; ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
RUN yum -y install gcc-c++
RUN rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
RUN yum -y install nodejs npm --enablerepo=epel
RUN npm install bower -g
RUN yum -y install git vim-enhanced
RUN yum -y install redis libxml2-devel libicu-devel
RUN npm install -g hubot coffee-script hubot-xmpp
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment