root@Unraid:/mnt/user/appdata/jiezhang-back-open/docker# docker build -t jz -f ./Dockerfile .
Sending build context to Docker daemon 19.46kB
Step 1/12 : From ruby:2.3.1
---> ffe8239a147c
Step 2/12 : ENV RAILS_ROOT /home/ljt
---> Running in ba7c2ab988b1
Removing intermediate container ba7c2ab988b1
---> 67c94f5a29d7
Step 3/12 : WORKDIR $RAILS_ROOT
---> Running in 3b49fd5fe860
Removing intermediate container 3b49fd5fe860
---> cec469b2a217
Step 4/12 : RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak && echo "deb http://mirrors.163.com/debian/ jessie main non-free contrib" >/etc/apt/sources.list && echo "deb http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie main non-free contrib" >>/etc/apt/sources.list && echo "deb-src http://mirrors.163.com/debian/ jessie-proposed-updates main non-free contrib" >>/etc/apt/sources.list
---> Running in 5dde893e10c3
Removing intermediate container 5dde893e10c3
---> 98f42f082977
Step 5/12 : RUN apt-get update -qq && apt-get install -y build-essential vim nodejs npm python-setuptools python-docutils build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl openssh-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev vim python imagemagick libmagickcore-dev imagemagick-common libmagickwand-dev sudo ntpdate snmpd snmp libpng-dev libjpeg-dev rsync tk libpcre3-dev libmysqlclient-dev mysql-client autoconf automake gettext libpq-dev cmake redis-server
---> Running in 9155f9450e76
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie/InRelease
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-proposed-updates/InRelease
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie/Release.gpg Unable to connect to mirrors.163.com:http:
W: Failed to fetch http://mirrors.163.com/debian/dists/jessie-proposed-updates/Release.gpg Unable to connect to mirrors.163.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package gettext is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package rsync is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package build-essential
E: Unable to locate package vim
E: Unable to locate package nodejs
E: Unable to locate package npm
E: Unable to locate package python-setuptools
E: Unable to locate package python-docutils
E: Unable to locate package build-essential
E: Unable to locate package libgdbm-dev
E: Unable to locate package openssh-server
E: Unable to locate package checkinstall
E: Unable to locate package libicu-dev
E: Unable to locate package vim
E: Unable to locate package sudo
E: Unable to locate package ntpdate
E: Unable to locate package snmpd
E: Unable to locate package snmp
E: Package 'rsync' has no installation candidate
E: Unable to locate package tk
E: Unable to locate package mysql-client
E: Package 'gettext' has no installation candidate
E: Package 'cmake' has no installation candidate
E: Unable to locate package redis-server