因为github无耻的拒绝了百度对gitpage的抓取和收录,故此自己只做了个jekyll环境跑gitpage的blog,只为收录。。。
Dockerfile
# Create by Xie Xianbin, For Jekyll Dockerfile
# v 0.0.1
# base image
FROM xiexianbin/centos6:base
# remark
MAINTAINER Xie Xianbin "xianbinxie@163.com"
# Dockerfile build cache
ENV REFRESHED_AT 2015-11-29
# for base env
RUN rm -rf /etc/yum.repos.d/*
COPY Centos-6.repo /etc/yum.repos.d/
RUN rpm -ivh http://mirrors.zju.edu.cn/epel/6/i386/epel-release-6-8.noarch.rpm
RUN yum clean all
RUN yum -y install gcc git wget curl vim tar
# for jekyll env
RUN yum install nodejs libyaml -y
COPY ruby-1.9.3p545-1.el6.x86_64.rpm /opt/
RUN rpm -ivh /opt/ruby-1.9.3p545-1.el6.x86_64.rpm
RUN rm -rf /opt/ruby-1.9.3p545-1.el6.x86_64.rpm
RUN gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
RUN gem install jekyll --version "=1.4.2"
RUN gem install kramdown
RUN yum clean all
RUN history -c
EXPOSE 8080
ENTRYPOINT ["/bin/bash"]
Dockerfile 目录文件详情
[root@xianbin docker]# pwd
/root/docker/docker
[root@xianbin docker]# ll
total 18660
-rw-r--r-- 1 root root 2572 Nov 30 01:18 Centos-6.repo
-rw-r--r-- 1 root root 823 Nov 30 01:18 Dockerfile
-rw-r--r-- 1 root root 19098152 Nov 30 01:21 ruby-1.9.3p545-1.el6.x86_64.rpm
Docker相关文件下载地址:http://pan.baidu.com/s/1o6J7UDc
Docker build 命令
docker build -t xiexianbin/centos6:j7t7 .
docker build 过程
[root@xianbin docker]# docker build -t xiexianbin/centos6:jekyll .
Sending build context to Docker daemon 19.11 MB
Sending build context to Docker daemon
Step 0 : FROM xiexianbin/centos6:base
---> a441d723c250
Step 1 : MAINTAINER Xie Xianbin "xianbinxie@163.com"
---> Using cache
---> 071e4124082c
Step 2 : ENV REFRESHED_AT 2015-11-29
---> Running in e67672f670fc
---> 23fc2305248d
Removing intermediate container e67672f670fc
Step 3 : RUN rm -rf /etc/yum.repos.d/*
---> Running in e25a4bd48751
---> 0f422173b155
Removing intermediate container e25a4bd48751
Step 4 : COPY Centos-6.repo /etc/yum.repos.d/
---> 9cf3d6c041b5
Removing intermediate container a03225bf478d
Step 5 : RUN rpm -ivh http://mirrors.zju.edu.cn/epel/6/i386/epel-release-6-8.noarch.rpm
---> Running in ad3f33a0a319
warning: /var/tmp/rpm-tmp.fRLXli: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving http://mirrors.zju.edu.cn/epel/6/i386/epel-release-6-8.noarch.rpm
Preparing... ##################################################
epel-release ##################################################
---> ade001ca0ecc
Removing intermediate container ad3f33a0a319
Step 6 : RUN yum clean all
---> Running in 9ca630a08f20
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up Everything
---> cd6155ff08f3
Removing intermediate container 9ca630a08f20
Step 7 : RUN yum -y install gcc git wget curl vim tar
---> Running in 70726f3fb24d
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
* base: mirrors.aliyun.com
* epel: mirrors.opencas.cn
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package curl.x86_64 0:7.19.7-40.el6_6.4 will be updated
---> Package curl.x86_64 0:7.19.7-46.el6 will be an update
--> Processing Dependency: libcurl = 7.19.7-46.el6 for package: curl-7.19.7-46.el6.x86_64
---> Package gcc.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libgomp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: cpp = 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: libgcc >= 4.4.7-16.el6 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-16.el6.x86_64
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.4.7-16.el6.x86_64
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed
--> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl >= 5.006 for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: rsync for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(warnings) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(vars) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(strict) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(lib) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Getopt::Long) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(File::Spec) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(File::Find) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(File::Basename) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Exporter) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Error) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: perl(Cwd) for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: openssh-clients for package: git-1.7.1-3.el6_4.1.x86_64
--> Processing Dependency: /usr/bin/perl for package: git-1.7.1-3.el6_4.1.x86_64
---> Package tar.x86_64 2:1.23-13.el6 will be installed
---> Package vim-enhanced.x86_64 2:7.4.629-5.el6 will be installed
--> Processing Dependency: vim-common = 2:7.4.629-5.el6 for package: 2:vim-enhanced-7.4.629-5.el6.x86_64
--> Processing Dependency: which for package: 2:vim-enhanced-7.4.629-5.el6.x86_64
--> Processing Dependency: libperl.so()(64bit) for package: 2:vim-enhanced-7.4.629-5.el6.x86_64
--> Processing Dependency: libgpm.so.2()(64bit) for package: 2:vim-enhanced-7.4.629-5.el6.x86_64
---> Package wget.x86_64 0:1.12-5.el6_6.1 will be installed
--> Running transaction check
---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
--> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
--> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64
---> Package cpp.x86_64 0:4.4.7-16.el6 will be installed
--> Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.7-16.el6.x86_64
---> Package glibc-devel.x86_64 0:2.12-1.166.el6_7.3 will be installed
--> Processing Dependency: glibc-headers = 2.12-1.166.el6_7.3 for package: glibc-devel-2.12-1.166.el6_7.3.x86_64
--> Processing Dependency: glibc = 2.12-1.166.el6_7.3 for package: glibc-devel-2.12-1.166.el6_7.3.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.166.el6_7.3.x86_64
---> Package gpm-libs.x86_64 0:1.20.6-12.el6 will be installed
---> Package libcurl.x86_64 0:7.19.7-40.el6_6.4 will be updated
---> Package libcurl.x86_64 0:7.19.7-46.el6 will be an update
---> Package libgcc.x86_64 0:4.4.7-11.el6 will be updated
---> Package libgcc.x86_64 0:4.4.7-16.el6 will be an update
---> Package libgomp.x86_64 0:4.4.7-16.el6 will be installed
---> Package openssh-clients.x86_64 0:5.3p1-112.el6_7 will be installed
--> Processing Dependency: openssh = 5.3p1-112.el6_7 for package: openssh-clients-5.3p1-112.el6_7.x86_64
--> Processing Dependency: libfipscheck.so.1()(64bit) for package: openssh-clients-5.3p1-112.el6_7.x86_64
--> Processing Dependency: libedit.so.0()(64bit) for package: openssh-clients-5.3p1-112.el6_7.x86_64
---> Package perl.x86_64 4:5.10.1-141.el6_7.1 will be installed
--> Processing Dependency: perl(version) for package: 4:perl-5.10.1-141.el6_7.1.x86_64
--> Processing Dependency: perl(Pod::Simple) for package: 4:perl-5.10.1-141.el6_7.1.x86_64
--> Processing Dependency: perl(Module::Pluggable) for package: 4:perl-5.10.1-141.el6_7.1.x86_64
---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed
---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be installed
---> Package perl-libs.x86_64 4:5.10.1-141.el6_7.1 will be installed
---> Package rsync.x86_64 0:3.0.6-12.el6 will be installed
---> Package vim-common.x86_64 2:7.4.629-5.el6 will be installed
--> Processing Dependency: vim-filesystem for package: 2:vim-common-7.4.629-5.el6.x86_64
---> Package which.x86_64 0:2.19-6.el6 will be installed
--> Running transaction check
---> Package fipscheck-lib.x86_64 0:1.2.0-7.el6 will be installed
--> Processing Dependency: /usr/bin/fipscheck for package: fipscheck-lib-1.2.0-7.el6.x86_64
---> Package glibc.x86_64 0:2.12-1.149.el6_6.9 will be updated
--> Processing Dependency: glibc = 2.12-1.149.el6_6.9 for package: glibc-common-2.12-1.149.el6_6.9.x86_64
---> Package glibc.x86_64 0:2.12-1.166.el6_7.3 will be an update
---> Package glibc-headers.x86_64 0:2.12-1.166.el6_7.3 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.12-1.166.el6_7.3.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.12-1.166.el6_7.3.x86_64
---> Package libedit.x86_64 0:2.11-4.20080712cvs.1.el6 will be installed
---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
---> Package openssh.x86_64 0:5.3p1-112.el6_7 will be installed
---> Package perl-Module-Pluggable.x86_64 1:3.90-141.el6_7.1 will be installed
---> Package perl-Pod-Simple.x86_64 1:3.13-141.el6_7.1 will be installed
--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.13-141.el6_7.1.x86_64
---> Package perl-version.x86_64 3:0.77-141.el6_7.1 will be installed
---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
---> Package vim-filesystem.x86_64 2:7.4.629-5.el6 will be installed
--> Running transaction check
---> Package fipscheck.x86_64 0:1.2.0-7.el6 will be installed
---> Package glibc-common.x86_64 0:2.12-1.149.el6_6.9 will be updated
---> Package glibc-common.x86_64 0:2.12-1.166.el6_7.3 will be an update
---> Package kernel-headers.x86_64 0:2.6.32-573.8.1.el6 will be installed
---> Package perl-Pod-Escapes.x86_64 1:1.04-141.el6_7.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
gcc x86_64 4.4.7-16.el6 base 10 M
git x86_64 1.7.1-3.el6_4.1 base 4.6 M
tar x86_64 2:1.23-13.el6 base 809 k
vim-enhanced x86_64 2:7.4.629-5.el6 base 1.0 M
wget x86_64 1.12-5.el6_6.1 base 483 k
Updating:
curl x86_64 7.19.7-46.el6 base 196 k
Installing for dependencies:
cloog-ppl x86_64 0.15.7-1.2.el6 base 93 k
cpp x86_64 4.4.7-16.el6 base 3.7 M
fipscheck x86_64 1.2.0-7.el6 base 14 k
fipscheck-lib x86_64 1.2.0-7.el6 base 8.3 k
glibc-devel x86_64 2.12-1.166.el6_7.3 updates 986 k
glibc-headers x86_64 2.12-1.166.el6_7.3 updates 615 k
gpm-libs x86_64 1.20.6-12.el6 base 28 k
kernel-headers x86_64 2.6.32-573.8.1.el6 updates 3.9 M
libedit x86_64 2.11-4.20080712cvs.1.el6 base 74 k
libgomp x86_64 4.4.7-16.el6 base 134 k
mpfr x86_64 2.4.1-6.el6 base 157 k
openssh x86_64 5.3p1-112.el6_7 updates 274 k
openssh-clients x86_64 5.3p1-112.el6_7 updates 438 k
perl x86_64 4:5.10.1-141.el6_7.1 updates 10 M
perl-Error noarch 1:0.17015-4.el6 base 29 k
perl-Git noarch 1.7.1-3.el6_4.1 base 28 k
perl-Module-Pluggable x86_64 1:3.90-141.el6_7.1 updates 40 k
perl-Pod-Escapes x86_64 1:1.04-141.el6_7.1 updates 33 k
perl-Pod-Simple x86_64 1:3.13-141.el6_7.1 updates 213 k
perl-libs x86_64 4:5.10.1-141.el6_7.1 updates 579 k
perl-version x86_64 3:0.77-141.el6_7.1 updates 52 k
ppl x86_64 0.10.2-11.el6 base 1.3 M
rsync x86_64 3.0.6-12.el6 base 335 k
vim-common x86_64 2:7.4.629-5.el6 base 6.7 M
vim-filesystem x86_64 2:7.4.629-5.el6 base 15 k
which x86_64 2.19-6.el6 base 38 k
Updating for dependencies:
glibc x86_64 2.12-1.166.el6_7.3 updates 3.8 M
glibc-common x86_64 2.12-1.166.el6_7.3 updates 14 M
libcurl x86_64 7.19.7-46.el6 base 168 k
libgcc x86_64 4.4.7-16.el6 base 103 k
Transaction Summary
================================================================================
Install 31 Package(s)
Upgrade 5 Package(s)
Total download size: 65 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 896 kB/s | 65 MB 01:14
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid: "CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>"
From : http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Updating : libgcc-4.4.7-16.el6.x86_64 1/41
Updating : glibc-common-2.12-1.166.el6_7.3.x86_64 2/41
Updating : glibc-2.12-1.166.el6_7.3.x86_64 3/41
Installing : 1:perl-Pod-Escapes-1.04-141.el6_7.1.x86_64 4/41
Installing : 1:perl-Pod-Simple-3.13-141.el6_7.1.x86_64 5/41
Installing : 3:perl-version-0.77-141.el6_7.1.x86_64 6/41
Installing : 4:perl-libs-5.10.1-141.el6_7.1.x86_64 7/41
Installing : 1:perl-Module-Pluggable-3.90-141.el6_7.1.x86_64 8/41
Installing : 4:perl-5.10.1-141.el6_7.1.x86_64 9/41
Installing : 1:perl-Error-0.17015-4.el6.noarch 10/41
Updating : libcurl-7.19.7-46.el6.x86_64 11/41
Installing : libgomp-4.4.7-16.el6.x86_64 12/41
Installing : fipscheck-lib-1.2.0-7.el6.x86_64 13/41
Installing : fipscheck-1.2.0-7.el6.x86_64 14/41
Installing : openssh-5.3p1-112.el6_7.x86_64 15/41
Installing : which-2.19-6.el6.x86_64 16/41
install-info: No such file or directory for /usr/share/info/which.info.gz
Installing : ppl-0.10.2-11.el6.x86_64 17/41
Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 18/41
Installing : mpfr-2.4.1-6.el6.x86_64 19/41
Installing : cpp-4.4.7-16.el6.x86_64 20/41
Installing : libedit-2.11-4.20080712cvs.1.el6.x86_64 21/41
Installing : openssh-clients-5.3p1-112.el6_7.x86_64 22/41
Installing : gpm-libs-1.20.6-12.el6.x86_64 23/41
Installing : rsync-3.0.6-12.el6.x86_64 24/41
Installing : perl-Git-1.7.1-3.el6_4.1.noarch 25/41
Installing : git-1.7.1-3.el6_4.1.x86_64 26/41
Installing : 2:vim-filesystem-7.4.629-5.el6.x86_64 27/41
Installing : 2:vim-common-7.4.629-5.el6.x86_64 28/41
Installing : kernel-headers-2.6.32-573.8.1.el6.x86_64 29/41
Installing : glibc-headers-2.12-1.166.el6_7.3.x86_64 30/41
Installing : glibc-devel-2.12-1.166.el6_7.3.x86_64 31/41
Installing : gcc-4.4.7-16.el6.x86_64 32/41
Installing : 2:vim-enhanced-7.4.629-5.el6.x86_64 33/41
Updating : curl-7.19.7-46.el6.x86_64 34/41
Installing : wget-1.12-5.el6_6.1.x86_64 35/41
install-info: No such file or directory for /usr/share/info/wget.info.gz
Installing : 2:tar-1.23-13.el6.x86_64 36/41
Cleanup : curl-7.19.7-40.el6_6.4.x86_64 37/41
Cleanup : libcurl-7.19.7-40.el6_6.4.x86_64 38/41
Cleanup : glibc-common-2.12-1.149.el6_6.9.x86_64 39/41
Cleanup : glibc-2.12-1.149.el6_6.9.x86_64 40/41
Cleanup : libgcc-4.4.7-11.el6.x86_64 41/41
Verifying : libgomp-4.4.7-16.el6.x86_64 1/41
Verifying : fipscheck-1.2.0-7.el6.x86_64 2/41
Verifying : which-2.19-6.el6.x86_64 3/41
Verifying : 1:perl-Module-Pluggable-3.90-141.el6_7.1.x86_64 4/41
Verifying : kernel-headers-2.6.32-573.8.1.el6.x86_64 5/41
Verifying : 4:perl-5.10.1-141.el6_7.1.x86_64 6/41
Verifying : 1:perl-Error-0.17015-4.el6.noarch 7/41
Verifying : ppl-0.10.2-11.el6.x86_64 8/41
Verifying : 2:vim-enhanced-7.4.629-5.el6.x86_64 9/41
Verifying : mpfr-2.4.1-6.el6.x86_64 10/41
Verifying : 2:vim-common-7.4.629-5.el6.x86_64 11/41
Verifying : libcurl-7.19.7-46.el6.x86_64 12/41
Verifying : curl-7.19.7-46.el6.x86_64 13/41
Verifying : cpp-4.4.7-16.el6.x86_64 14/41
Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 15/41
Verifying : fipscheck-lib-1.2.0-7.el6.x86_64 16/41
Verifying : 1:perl-Pod-Simple-3.13-141.el6_7.1.x86_64 17/41
Verifying : 1:perl-Pod-Escapes-1.04-141.el6_7.1.x86_64 18/41
Verifying : gcc-4.4.7-16.el6.x86_64 19/41
Verifying : wget-1.12-5.el6_6.1.x86_64 20/41
Verifying : 3:perl-version-0.77-141.el6_7.1.x86_64 21/41
Verifying : glibc-2.12-1.166.el6_7.3.x86_64 22/41
Verifying : openssh-5.3p1-112.el6_7.x86_64 23/41
Verifying : libedit-2.11-4.20080712cvs.1.el6.x86_64 24/41
Verifying : glibc-common-2.12-1.166.el6_7.3.x86_64 25/41
Verifying : 4:perl-libs-5.10.1-141.el6_7.1.x86_64 26/41
Verifying : glibc-devel-2.12-1.166.el6_7.3.x86_64 27/41
Verifying : perl-Git-1.7.1-3.el6_4.1.noarch 28/41
Verifying : gpm-libs-1.20.6-12.el6.x86_64 29/41
Verifying : glibc-headers-2.12-1.166.el6_7.3.x86_64 30/41
Verifying : 2:vim-filesystem-7.4.629-5.el6.x86_64 31/41
Verifying : rsync-3.0.6-12.el6.x86_64 32/41
Verifying : libgcc-4.4.7-16.el6.x86_64 33/41
Verifying : 2:tar-1.23-13.el6.x86_64 34/41
Verifying : git-1.7.1-3.el6_4.1.x86_64 35/41
Verifying : openssh-clients-5.3p1-112.el6_7.x86_64 36/41
Verifying : libgcc-4.4.7-11.el6.x86_64 37/41
Verifying : libcurl-7.19.7-40.el6_6.4.x86_64 38/41
Verifying : curl-7.19.7-40.el6_6.4.x86_64 39/41
Verifying : glibc-common-2.12-1.149.el6_6.9.x86_64 40/41
Verifying : glibc-2.12-1.149.el6_6.9.x86_64 41/41
Installed:
gcc.x86_64 0:4.4.7-16.el6 git.x86_64 0:1.7.1-3.el6_4.1
tar.x86_64 2:1.23-13.el6 vim-enhanced.x86_64 2:7.4.629-5.el6
wget.x86_64 0:1.12-5.el6_6.1
Dependency Installed:
cloog-ppl.x86_64 0:0.15.7-1.2.el6
cpp.x86_64 0:4.4.7-16.el6
fipscheck.x86_64 0:1.2.0-7.el6
fipscheck-lib.x86_64 0:1.2.0-7.el6
glibc-devel.x86_64 0:2.12-1.166.el6_7.3
glibc-headers.x86_64 0:2.12-1.166.el6_7.3
gpm-libs.x86_64 0:1.20.6-12.el6
kernel-headers.x86_64 0:2.6.32-573.8.1.el6
libedit.x86_64 0:2.11-4.20080712cvs.1.el6
libgomp.x86_64 0:4.4.7-16.el6
mpfr.x86_64 0:2.4.1-6.el6
openssh.x86_64 0:5.3p1-112.el6_7
openssh-clients.x86_64 0:5.3p1-112.el6_7
perl.x86_64 4:5.10.1-141.el6_7.1
perl-Error.noarch 1:0.17015-4.el6
perl-Git.noarch 0:1.7.1-3.el6_4.1
perl-Module-Pluggable.x86_64 1:3.90-141.el6_7.1
perl-Pod-Escapes.x86_64 1:1.04-141.el6_7.1
perl-Pod-Simple.x86_64 1:3.13-141.el6_7.1
perl-libs.x86_64 4:5.10.1-141.el6_7.1
perl-version.x86_64 3:0.77-141.el6_7.1
ppl.x86_64 0:0.10.2-11.el6
rsync.x86_64 0:3.0.6-12.el6
vim-common.x86_64 2:7.4.629-5.el6
vim-filesystem.x86_64 2:7.4.629-5.el6
which.x86_64 0:2.19-6.el6
Updated:
curl.x86_64 0:7.19.7-46.el6
Dependency Updated:
glibc.x86_64 0:2.12-1.166.el6_7.3 glibc-common.x86_64 0:2.12-1.166.el6_7.3
libcurl.x86_64 0:7.19.7-46.el6 libgcc.x86_64 0:4.4.7-16.el6
Complete!
---> bd6d28718c28
Removing intermediate container 70726f3fb24d
Step 8 : RUN yum install nodejs libyaml -y
---> Running in 521725672b1a
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.opencas.cn
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package libyaml.x86_64 0:0.1.3-4.el6_6 will be installed
---> Package nodejs.x86_64 0:0.10.36-3.el6 will be installed
--> Processing Dependency: v8(x86-64) < 1:3.15 for package: nodejs-0.10.36-3.el6.x86_64
--> Processing Dependency: v8(x86-64) >= 1:3.14.5.10-17 for package: nodejs-0.10.36-3.el6.x86_64
--> Processing Dependency: libv8.so.3()(64bit) for package: nodejs-0.10.36-3.el6.x86_64
--> Processing Dependency: libuv.so.0.10()(64bit) for package: nodejs-0.10.36-3.el6.x86_64
--> Processing Dependency: libhttp_parser.so.2()(64bit) for package: nodejs-0.10.36-3.el6.x86_64
--> Processing Dependency: libcares19.so.2()(64bit) for package: nodejs-0.10.36-3.el6.x86_64
--> Running transaction check
---> Package c-ares19.x86_64 0:1.9.1-5.el6.3 will be installed
---> Package http-parser.x86_64 0:2.0-4.20121128gitcd01361.el6 will be installed
---> Package libuv.x86_64 1:0.10.34-1.el6 will be installed
---> Package v8.x86_64 1:3.14.5.10-17.el6 will be installed
--> Processing Dependency: libicuuc.so.42()(64bit) for package: 1:v8-3.14.5.10-17.el6.x86_64
--> Processing Dependency: libicui18n.so.42()(64bit) for package: 1:v8-3.14.5.10-17.el6.x86_64
--> Processing Dependency: libicudata.so.42()(64bit) for package: 1:v8-3.14.5.10-17.el6.x86_64
--> Running transaction check
---> Package libicu.x86_64 0:4.2.1-12.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
libyaml x86_64 0.1.3-4.el6_6 base 52 k
nodejs x86_64 0.10.36-3.el6 epel 521 k
Installing for dependencies:
c-ares19 x86_64 1.9.1-5.el6.3 epel 73 k
http-parser x86_64 2.0-4.20121128gitcd01361.el6 epel 22 k
libicu x86_64 4.2.1-12.el6 base 4.9 M
libuv x86_64 1:0.10.34-1.el6 epel 57 k
v8 x86_64 1:3.14.5.10-17.el6 epel 3.0 M
Transaction Summary
================================================================================
Install 7 Package(s)
Total download size: 8.7 M
Installed size: 31 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 494 kB/s | 8.7 MB 00:17
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
Userid : EPEL (6) <epel@fedoraproject.org>
Package: epel-release-6-8.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : http-parser-2.0-4.20121128gitcd01361.el6.x86_64 1/7
Installing : libicu-4.2.1-12.el6.x86_64 2/7
Installing : 1:v8-3.14.5.10-17.el6.x86_64 3/7
Installing : c-ares19-1.9.1-5.el6.3.x86_64 4/7
Installing : 1:libuv-0.10.34-1.el6.x86_64 5/7
Installing : nodejs-0.10.36-3.el6.x86_64 6/7
Installing : libyaml-0.1.3-4.el6_6.x86_64 7/7
Verifying : 1:v8-3.14.5.10-17.el6.x86_64 1/7
Verifying : libyaml-0.1.3-4.el6_6.x86_64 2/7
Verifying : 1:libuv-0.10.34-1.el6.x86_64 3/7
Verifying : c-ares19-1.9.1-5.el6.3.x86_64 4/7
Verifying : libicu-4.2.1-12.el6.x86_64 5/7
Verifying : http-parser-2.0-4.20121128gitcd01361.el6.x86_64 6/7
Verifying : nodejs-0.10.36-3.el6.x86_64 7/7
Installed:
libyaml.x86_64 0:0.1.3-4.el6_6 nodejs.x86_64 0:0.10.36-3.el6
Dependency Installed:
c-ares19.x86_64 0:1.9.1-5.el6.3
http-parser.x86_64 0:2.0-4.20121128gitcd01361.el6
libicu.x86_64 0:4.2.1-12.el6
libuv.x86_64 1:0.10.34-1.el6
v8.x86_64 1:3.14.5.10-17.el6
Complete!
---> 309b618bb517
Removing intermediate container 521725672b1a
Step 9 : COPY ruby-1.9.3p545-1.el6.x86_64.rpm /opt/
---> 9cf6fd5ea934
Removing intermediate container d7cf5ffd6502
Step 10 : RUN rpm -ivh /opt/ruby-1.9.3p545-1.el6.x86_64.rpm
---> Running in db7d76dc34be
Preparing... ##################################################
ruby ##################################################
---> 7ede0c78bc13
Removing intermediate container db7d76dc34be
Step 11 : RUN rm -rf /opt/ruby-1.9.3p545-1.el6.x86_64.rpm
---> Running in 7f825eb5bbf9
---> e30b6ca51a81
Removing intermediate container 7f825eb5bbf9
Step 12 : RUN gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/
---> Running in 7ec870022c51
https://ruby.taobao.org/ added to sources
source https://rubygems.org/ not present in cache
---> 90e4c06c85f9
Removing intermediate container 7ec870022c51
Step 13 : RUN gem install jekyll --version "=1.4.2"
---> Running in 32f416a69ef2
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Building native extensions. This could take a while...
unable to convert "\xC7" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for History.md, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/ffi/library.rb, skipping
unable to convert U+2014 from UTF-8 to US-ASCII for lib/pygments/popen.rb, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for COPYING, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/parslet/atoms/base.rb, skipping
unable to convert "\xC7" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for History.md, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/ffi/library.rb, skipping
unable to convert U+2014 from UTF-8 to US-ASCII for lib/pygments/popen.rb, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for COPYING, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/parslet/atoms/base.rb, skipping
Successfully installed liquid-2.5.5
Successfully installed fast-stemmer-1.0.2
Successfully installed classifier-1.3.4
Successfully installed rb-fsevent-0.9.6
Successfully installed ffi-1.9.10
Successfully installed rb-inotify-0.9.5
Successfully installed rb-kqueue-0.2.4
Successfully installed listen-1.3.1
Successfully installed maruku-0.7.2
Successfully installed yajl-ruby-1.1.0
Successfully installed posix-spawn-0.3.11
Successfully installed pygments.rb-0.5.4
Successfully installed highline-1.6.21
Successfully installed commander-4.1.6
Successfully installed safe_yaml-0.9.7
Successfully installed colorator-0.1
Successfully installed redcarpet-2.3.0
Successfully installed blankslate-2.1.2.4
Successfully installed parslet-1.5.0
Successfully installed toml-0.1.2
Successfully installed jekyll-1.4.2
21 gems installed
Installing ri documentation for liquid-2.5.5...
Installing ri documentation for fast-stemmer-1.0.2...
Installing ri documentation for classifier-1.3.4...
Installing ri documentation for rb-fsevent-0.9.6...
Installing ri documentation for ffi-1.9.10...
Installing ri documentation for rb-inotify-0.9.5...
Installing ri documentation for rb-kqueue-0.2.4...
Installing ri documentation for listen-1.3.1...
Installing ri documentation for maruku-0.7.2...
Installing ri documentation for yajl-ruby-1.1.0...
Installing ri documentation for posix-spawn-0.3.11...
Installing ri documentation for pygments.rb-0.5.4...
Installing ri documentation for highline-1.6.21...
Installing ri documentation for commander-4.1.6...
Installing ri documentation for safe_yaml-0.9.7...
Installing ri documentation for colorator-0.1...
Installing ri documentation for redcarpet-2.3.0...
Installing ri documentation for blankslate-2.1.2.4...
Installing ri documentation for parslet-1.5.0...
Installing ri documentation for toml-0.1.2...
Installing ri documentation for jekyll-1.4.2...
Installing RDoc documentation for liquid-2.5.5...
Installing RDoc documentation for fast-stemmer-1.0.2...
Installing RDoc documentation for classifier-1.3.4...
Installing RDoc documentation for rb-fsevent-0.9.6...
Installing RDoc documentation for ffi-1.9.10...
Installing RDoc documentation for rb-inotify-0.9.5...
Installing RDoc documentation for rb-kqueue-0.2.4...
Installing RDoc documentation for listen-1.3.1...
Installing RDoc documentation for maruku-0.7.2...
Installing RDoc documentation for yajl-ruby-1.1.0...
Installing RDoc documentation for posix-spawn-0.3.11...
Installing RDoc documentation for pygments.rb-0.5.4...
Installing RDoc documentation for highline-1.6.21...
Installing RDoc documentation for commander-4.1.6...
Installing RDoc documentation for safe_yaml-0.9.7...
Installing RDoc documentation for colorator-0.1...
Installing RDoc documentation for redcarpet-2.3.0...
Installing RDoc documentation for blankslate-2.1.2.4...
Installing RDoc documentation for parslet-1.5.0...
Installing RDoc documentation for toml-0.1.2...
Installing RDoc documentation for jekyll-1.4.2...
---> 776777f2fde8
Removing intermediate container 32f416a69ef2
Step 14 : RUN yum clean all
---> Running in c49d3c9359e1
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
---> f9b362c69142
Removing intermediate container c49d3c9359e1
Step 15 : RUN history -c
---> Running in 87dcb4c4fff1
---> d9a4fba64873
Removing intermediate container 87dcb4c4fff1
Step 16 : EXPOSE 8080
---> Running in 5ceef9faab67
---> 5a995832777f
Removing intermediate container 5ceef9faab67
Step 17 : ENTRYPOINT /bin/bash
---> Running in c9a949c44817
---> b613e7933816
Removing intermediate container c9a949c44817
Successfully built b613e7933816
[root@xianbin docker]#
登录Docker Hub
[root@iZ288u02izdZ ~]# docker login
Username: xiexianbin
Password:
Email: a.b@hotmail.com
WARNING: login credentials saved in /root/.dockercfg.
Login Succeeded
[root@iZ288u02izdZ ~]#
docker push
docker push xiexianbin/centos6:jekyll
相关文章
最新评论
加载中...