Repository: geode-site Updated Branches: refs/heads/master f3dd31636 -> 1e603d7ad
Add dockerfile to simplify building and contributing Project: http://git-wip-us.apache.org/repos/asf/geode-site/repo Commit: http://git-wip-us.apache.org/repos/asf/geode-site/commit/1e603d7a Tree: http://git-wip-us.apache.org/repos/asf/geode-site/tree/1e603d7a Diff: http://git-wip-us.apache.org/repos/asf/geode-site/diff/1e603d7a Branch: refs/heads/master Commit: 1e603d7ad62b7587def2fdc8811d44ee1c18c832 Parents: f3dd316 Author: Anthony Baker <[email protected]> Authored: Wed Feb 22 06:07:41 2017 -0800 Committer: Anthony Baker <[email protected]> Committed: Wed Feb 22 06:07:41 2017 -0800 ---------------------------------------------------------------------- docker/Dockerfile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode-site/blob/1e603d7a/docker/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..fad0b4e --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,36 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +FROM ubuntu +LABEL maintainer Apache Geode <[email protected]> + +RUN \ + apt-get update \ + && apt-get install -y pandoc python python-pip ruby ruby-dev zlib1g-dev \ + && rm -rf /var/lib/apt/lists/* + +RUN \ + locale-gen en_US.UTF-8 \ + && pip install Pygments \ + && gem install nanoc -v 4.2.0 \ + && gem install pygments.rb htmlentities pandoc-ruby nokogiri rack mime-types adsf + +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 + +EXPOSE 3000 +CMD ["bash"]
