[.drone.yml]: change to alpine image

This commit is contained in:
Jesús 2021-05-10 21:44:35 -05:00
parent 00b9e5ba03
commit e5ec52d32f
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -3,15 +3,10 @@ name: default
steps:
- name: test
image: debian:bullseye
image: alpine:3.13.5
commands:
- apt update -y
- apt install -y locales openjdk-11-jre python3-pip
- sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
- sed -e 's|^# en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|g' -i /etc/locale.gen
- sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
- sed -e 's|^# fr_FR.UTF-8 UTF-8|fr_FR.UTF-8 UTF-8|g' -i /etc/locale.gen
- dpkg-reconfigure --frontend=noninteractive locales
- apk update
- apk add musl-locales openjdk11 py3-pip make
- pip3 install babel beautifulsoup4 html5validator markdown pelican
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
- (cd cl-theme/ && make compile)