forked from linkerd/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (21 loc) · 846 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM circleci/node:10
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
lsb-core \
apt-transport-https \
&& export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" \
&& echo "deb https://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" \
| tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg \
| apt-key add - \
&& apt-get update \
&& apt-get install -y --no-install-recommends google-cloud-sdk \
&& wget https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_extended_0.54.0_Linux-64bit.deb \
&& dpkg -i hugo*.deb \
&& rm hugo*.deb \
&& curl https://htmltest.wjdp.uk | bash \
&& mv bin/htmltest /usr/local/bin \
&& npm install -g markdownlint-cli \
&& rm -rf /var/lib/apt/lists/*
USER circleci