Dockerfile-dev 611 B

12345678910111213141516171819
  1. FROM daocloud.io/library/ubuntu:18.10
  2. LABEL Name=google/cordova-docs Version=1.0.1
  3. WORKDIR /root/app
  4. RUN sed -i "s|http://archive.ubuntu.com|http://mirrors.aliyun.com|g" /etc/apt/sources.list && rm -Rf /var/lib/apt/lists/* && apt-get -y update
  5. RUN apt-get install -y ruby-full
  6. RUN apt-get install -y nodejs
  7. RUN apt-get install -y npm
  8. RUN npm config set registry http://registry.npm.taobao.org
  9. RUN apt-get install -y python2.7
  10. RUN gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
  11. RUN gem install bundler
  12. CMD ["/bin/bash" ,"-c" ,"while true;do echo hello docker;sleep 1;done"]