Add python2 version (for certain plugins)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e1deb563af
commit
b2c5b1e209
12
.drone.yml
12
.drone.yml
|
@ -11,3 +11,15 @@ steps:
|
||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: r.sbruder.de/calibre
|
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
7
Dockerfile.python2
Normal 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"]
|
Reference in a new issue