update versions

This commit is contained in:
Patrick Werner 2022-02-16 22:07:37 +01:00
parent 0a2a567e35
commit 686c3859cf
No known key found for this signature in database
GPG Key ID: C078A3328BEC8B94
2 changed files with 8 additions and 8 deletions

View File

@ -1,13 +1,13 @@
FROM python:3.9.4-slim-buster
ARG PELICAN_VERSION=4.6.0
ARG SOURCE_SANS_VERSION=3.028R
ARG MATPLOTLIB_VERSION=3.4.1
FROM python:3.10.2-slim-bullseye
ARG PELICAN_VERSION=4.7.2
ARG SOURCE_SANS_VERSION=3.046R
ARG MATPLOTLIB_VERSION=3.5.1
RUN apt update && apt upgrade -y
RUN apt install wget unzip fontconfig -y
RUN wget https://github.com/adobe-fonts/source-sans/releases/download/${SOURCE_SANS_VERSION}/source-sans-3v028R.zip && \
unzip source-sans-3v028R.zip -d source-sans && \
rm source-sans-3v028R.zip && \
RUN wget https://github.com/adobe-fonts/source-sans/releases/download/${SOURCE_SANS_VERSION}/OTF-source-sans-${SOURCE_SANS_VERSION}.zip -O source-sans.zip && \
unzip source-sans.zip -d source-sans && \
rm source-sans.zip && \
mkdir -p /usr/share/fonts/opentype/adobe/ && \
cp source-sans/OTF/*.otf /usr/share/fonts/opentype/adobe/ && \
rm -rf source-sans && \

View File

@ -10,7 +10,7 @@ docker run --detach \
--name=pelican \
--volume <your-site-dir>:/site \
--volume pelican_files:/site-generated \
boonto/pelican:3.9.4-4.6.0
boonto/pelican:3.10.2-4.7.2
```
May be used in conjunction with the [nginx](https://hub.docker.com/_/nginx) container to serve the output.
```