Skip to content
Snippets Groups Projects
Verified Commit c24e398f authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Updated Dockerfile.

parent e96dcfb4
No related branches found
No related tags found
No related merge requests found
...@@ -2,14 +2,14 @@ FROM python:3-slim ...@@ -2,14 +2,14 @@ FROM python:3-slim
RUN pip install urlchecker==0.0.20 RUN pip install urlchecker==0.0.20
CMD [ "/bin/bash" ] CMD [ "/bin/bash" ]
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
--no-install-recommends curl git gnupg2 pandoc pandoc-citeproc && \ --no-install-recommends curl git gnupg2 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y yarn \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y yarn \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN yarn global add netlify-cli RUN yarn global add netlify-cli
ENV HUGO_VERSION=0.72.0 ENV HUGO_VERSION=0.74.3
RUN curl -fSL -O "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb" \ 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 \ && DEBIAN_FRONTEND=noninteractive apt-get install -y /hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
&& rm /hugo_extended_${HUGO_VERSION}_Linux-64bit.deb && rm /hugo_extended_${HUGO_VERSION}_Linux-64bit.deb
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment