Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker create --hostname docker.docs.com --name docker.docs.com -i -t docker.io/fedora /bin/bash
- docker start -a -i <UUID>
- FROM docker.io/fedora
- MAINTAINER Radoslaw Smigielski "[email protected]"
- LABEL vendor=Radoslaw\ Smigielski \
- com.example.is-beta= \
- com.example.is-production="yes" \
- com.example.version="0.0.1-beta" \
- com.example.release-date="2015-02-12"
- RUN \
- yum install -y ruby ruby-devel zlib-devel make gcc gcc-c++ redhat-rpm-config git && \
- gem install bundler rubygems-bundler jekyll --no-rdoc --no-ri
- RUN \
- cd /usr/src && \
- git clone --single-branch --branch master --depth 1 https://github.com/docker/docker.github.io.git && \
- cd docker.github.io && \
- gem install --no-rdoc --no-ri --file Gemfile
- EXPOSE 4000
- ENTRYPOINT ['/usr/local/bin/jekyll', 'server', '--host=0.0.0.0']
Advertisement
Add Comment
Please, Sign In to add comment