forked from rex-300FeetOut/docs-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (33 loc) · 973 Bytes
/
Dockerfile
File metadata and controls
44 lines (33 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# See the top level Makefile in https://github.com/docker/docker for usage.
#
FROM debian:jessie
MAINTAINER Mary Anthony <mary@docker.com> (@moxiegirl)
RUN apt-get update \
&& apt-get install -y \
gettext \
git \
wget \
libssl-dev \
make \
python-dev \
python-pip \
python-setuptools \
subversion-tools\
vim-tiny \
ssed \
curl
# Required to publish the documentation.
# The 1.4.4 version works: the current versions fail in different ways
# TODO: Test to see if the above holds true
RUN pip install awscli==1.4.4 pyopenssl==0.12
ENV HUGO_VERSION 0.14
RUN curl -sSL https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux_amd64.tar.gz \
| tar -v -C /usr/local/bin -xz --strip-components 1 \
&& mv /usr/local/bin/hugo_${HUGO_VERSION}_linux_amd64 /usr/local/bin/hugo
#######################
# Copy the content and theme to the container
#######################
WORKDIR /docs
COPY . /docs
EXPOSE 8000