Commit f3843673 authored by Lars Bilke's avatar Lars Bilke
Browse files

Merge branch 'update-web-docker' into 'master'

[ci] Update web docker image

See merge request ogs/ogs!4234
parents d07ebd9c 6460915f
FROM python:3-slim
RUN pip install urlchecker==0.0.28
RUN pip install urlchecker==0.0.32
CMD [ "/bin/bash" ]
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
--no-install-recommends curl git gnupg2 && \
rm -rf /var/lib/apt/lists/*
RUN apt -y install curl dirmngr apt-transport-https ca-certificates \
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get -y install nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
......@@ -13,8 +13,8 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y yarn \
&& rm -rf /var/lib/apt/lists/*
RUN yarn global add netlify-cli
ENV HUGO_VERSION=0.96.0
ENV HUGO_VERSION=0.101.0
RUN curl -fSL -O "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb" \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y /hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
&& rm /hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
RUN pip install https://github.com/bilke/nb2hugo/archive/e27dc02df2be1ce19e4a6f52d197c2e2a6ca520c.zip
RUN pip install https://github.com/bilke/nb2hugo/archive/0930c6591a4dae07c794b797a264fbcac1ad91aa.zip
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment