Add python2 version (for certain plugins)
continuous-integration/drone/push Build is passing Details

master
Simon Bruder 2020-02-17 17:29:04 +00:00
parent e1deb563af
commit b2c5b1e209
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
2 changed files with 19 additions and 0 deletions

View File

@ -11,3 +11,15 @@ steps:
password:
from_secret: docker_password
repo: r.sbruder.de/calibre
- name: docker-v2
image: plugins/docker
settings:
registry: r.sbruder.de
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile.python2
repo: r.sbruder.de/calibre
tags: python2

7
Dockerfile.python2 Normal file
View File

@ -0,0 +1,7 @@
FROM debian:buster
RUN apt-get update \
&& apt-get -y install --no-install-recommends calibre \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["calibredb"]