Skip to content
Snippets Groups Projects
Commit 4ba8ea9d authored by Jiří Helebrant's avatar Jiří Helebrant
Browse files

Merge branch 'update-pypi-packages' into 'master'

Use Python 3.9 in CI

See merge request !108
parents 49e4f282 61149494
1 merge request!108Use Python 3.9 in CI
Pipeline #96181 passed with stages
in 11 seconds
......@@ -11,8 +11,9 @@ stages:
- deploy
.build: &build
image: $CI_REGISTRY/websites/knot-resolver.cz
image: $CI_REGISTRY/websites/knot-resolver.cz:python3.9
before_script:
- pip install -U pip
- pip install -r requirements.txt # in case new deps are added
script:
- make publish
......
FROM debian:10-slim
FROM debian:11-slim
RUN \
apt-get update -yqq && \
apt-get install -yqq python-pip ca-certificates git locales-all
apt-get install -yqq python3-pip ca-certificates git locales-all
RUN ln -s '/usr/bin/python3.9' '/usr/bin/python'
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
pelican==4.0
webassets==0.12.1
rjsmin==1.0.12
pelican==4.7.2
webassets==2.0
rjsmin==1.2.0
pelican-minify==0.9
pyscss==1.3.7
pyScss==1.4.0
cssmin==0.2.0
pyphen==0.9.5
markdown==3.0.1
pyphen==0.12.0
Markdown==3.3.6
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