Compare commits

...

3 commits

Author SHA1 Message Date
d565f4d6b9 chore(): Upgrade python to the latest currently available version
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing
2024-01-20 12:39:17 +01:00
cebaf9b88a chore(): Installs required dependencies
Some checks are pending
continuous-integration/drone/push Build is running
2024-01-20 12:38:00 +01:00
6048df20ba chore(): Migrate container to alpine and remove old, uneeded code
Some checks failed
continuous-integration/drone/push Build is failing
2024-01-20 12:34:55 +01:00

View file

@ -1,9 +1,8 @@
FROM python:3.12.1
FROM python:3.12.1-alpine3.19
RUN apt-get update && \
apt-get install -y emacs git && \
apt-get autoclean && \
RUN apk update && \
apk upgrade && \
apk add --virtual .build-deps gcc python3-dev musl-dev linux-headers && \
pip install 'Nikola[extras]' && \
pip install 'markdown' && \
mkdir -p ~/.emacs.d/.local/straight/build && \
git clone https://github.com/hniksic/emacs-htmlize.git ~/.emacs.d/.local/straight/build/htmlize
apk del .build-deps && \
rm -vrf /var/cache/apk/*