From b2c5b1e2094453577beeb15ef3373df396197f3c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 17 Feb 2020 17:29:04 +0000 Subject: [PATCH] Add python2 version (for certain plugins) --- .drone.yml | 12 ++++++++++++ Dockerfile.python2 | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 Dockerfile.python2 diff --git a/.drone.yml b/.drone.yml index 5042d8e..41ec970 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Dockerfile.python2 b/Dockerfile.python2 new file mode 100644 index 0000000..7debf8e --- /dev/null +++ b/Dockerfile.python2 @@ -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"]