2017-09-27 11:05:18 +00:00
|
|
|
FROM golang:1.9
|
2017-09-20 23:40:33 +00:00
|
|
|
|
|
|
|
COPY scripts/devtools.sh /opt/devtools.sh
|
|
|
|
|
|
|
|
RUN set -e -x \
|
|
|
|
&& /opt/devtools.sh
|
|
|
|
|
2017-09-23 19:33:23 +00:00
|
|
|
# install mkdocs
|
|
|
|
RUN set -ex \
|
|
|
|
&& buildDeps=' \
|
|
|
|
build-essential \
|
|
|
|
python-dev \
|
|
|
|
' \
|
|
|
|
&& apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
$buildDeps \
|
|
|
|
python2.7 \
|
2017-09-27 11:05:18 +00:00
|
|
|
python-setuptools \
|
|
|
|
python-wheel \
|
2017-09-23 19:33:23 +00:00
|
|
|
python-pip \
|
|
|
|
&& pip install --upgrade \
|
|
|
|
pip \
|
|
|
|
'Markdown>=2.6.9' \
|
|
|
|
'mkdocs>=0.16.3' \
|
|
|
|
'mkdocs-material>=1.10.1' \
|
|
|
|
'markdown-include>=0.5.1' \
|
|
|
|
&& apt-get purge -y --auto-remove $buildDeps \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2017-09-20 23:40:33 +00:00
|
|
|
ENV CGO_ENABLED 0
|
2017-12-17 22:11:08 +00:00
|
|
|
ENV GOPATH /go:/yq
|