From 89ba6e927e4e2d132f872936ec5860f677a81866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Van=C3=AD=C4=8Dek?= Date: Mon, 27 Feb 2023 19:47:11 +0100 Subject: [PATCH] Container build. --- .drone.yml | 16 ++++++++++++++++ Dockerfile | 9 +++++++++ 2 files changed, 25 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..b39fb84 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,16 @@ +kind: pipeline +name: default + +steps: +- name: docker + image: plugins/docker + settings: + registry: https://git.ivasoft.cz + username: + from_secret: repo_user + password: + from_secret: repo_pass + repo: git.ivasoft.cz/sw/redmine + tags: + - latest + - ${DRONE_TAG:-latest} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..12ba5dc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM redmine:5-bullseye + +COPY plugins/ plugins/ + +RUN gem install icalendar \ + && cd redmine_ics_export \ + && bundle install --without development test \ + && cd ..\000_redmine_x_ux_upgrade \ + && bundle install --without development test \ No newline at end of file