rundeck-plugins / vault-storage

Storage plugin for Rundeck for storing data in Vault
http://rundeck.org/plugins/vault/2017/11/25/vault-storage.html
MIT License
18 stars 11 forks source link

Unable to build test containers #37

Open anrock-sc opened 2 years ago

anrock-sc commented 2 years ago

Hi there,

I am trying to contribute to this project but encountered and error while running the tests. I am unable to build the rundeck docker container as it seems that bintray was deprecated. See https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

That's why I suspect that the docker file for rundeck don't work anymore. Here the affected code:

# add cli tool debian repo
RUN echo "deb https://dl.bintray.com/rundeck/rundeck-deb /" | sudo tee -a /etc/apt/sources.list
RUN curl "https://bintray.com/user/downloadSubjectPublicKey?username=bintray" > /tmp/bintray.gpg.key
RUN apt-key add - < /tmp/bintray.gpg.key
RUN apt-get -y update
RUN apt-get -y install rundeck-cli

When running the curl locally, I get the following error message:

<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>

Here the complete log when running docker-compose -f docker-compose-vault.yml build

bash-3.2$ docker-compose -f docker-compose-vault.yml build
Sending build context to Docker daemon     662B
Step 1/7 : ARG IMAGE
Step 2/7 : FROM ${IMAGE}
0.9.6: Pulling from library/vault
ff3a5c916c92: Pull complete
6b43b792ef23: Pull complete
f1b3be715dca: Pull complete
1666d618f5c4: Pull complete
21bf63a0b236: Pull complete
Digest: sha256:881b7e5b9730655e0d51667c7d5305020fa1033700cf31880e726c30f4ab60eb
Status: Downloaded newer image for vault:0.9.6
 ---> 3d23338f1efc
Step 3/7 : EXPOSE 8200
 ---> Running in afa519ccff08
 ---> af46d156aa23
Step 4/7 : COPY run.sh /usr/local/bin/run.sh
 ---> 24f30a7dbbe8
Step 5/7 : RUN apk --no-cache add curl
 ---> Running in 28ba01892c90
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/3) Installing libssh2 (1.9.0-r1)
(2/3) Installing libcurl (7.61.1-r3)
(3/3) Installing curl (7.61.1-r3)
Executing busybox-1.27.2-r7.trigger
OK: 6 MiB in 18 packages
 ---> 3c8ee70b49e9
Step 6/7 : RUN apk --no-cache add jq
 ---> Running in 5556f672372b
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
(1/2) Installing oniguruma (6.6.1-r0)
(2/2) Installing jq (1.5-r5)
Executing busybox-1.27.2-r7.trigger
OK: 7 MiB in 20 packages
 ---> 1a668e94a8be
Step 7/7 : CMD ["run.sh"]
 ---> Running in 01d89bd52e63
 ---> d24767fd09fe
Successfully built d24767fd09fe
Successfully tagged docker_vault:latest
Sending build context to Docker daemon  7.998kB
Step 1/22 : FROM rundeck/rundeck:SNAPSHOT
SNAPSHOT: Pulling from rundeck/rundeck
92dc2a97ff99: Already exists
be13a9d27eb8: Already exists
c8299583700a: Already exists
9e6bddf44d59: Already exists
e4213de99ee1: Already exists
70f2ef2fdcfc: Already exists
9df1c8c1f3a7: Already exists
10bd9db38c89: Pull complete
dbd986e024eb: Pull complete
fcb06d19a62b: Pull complete
4b5ad80061ad: Pull complete
9e949be5d98a: Pull complete
9b1a6244df80: Pull complete
Digest: sha256:7edf2fbbc7fe18a2d94c168c96202cae2ce6b8fed580a464e141f8c5f614257e
Status: Downloaded newer image for rundeck/rundeck:SNAPSHOT
 ---> bce7017dfd49
Step 2/22 : USER root
 ---> Running in 560aa65ddbb8
 ---> e3a060898bdb
Step 3/22 : RUN apt-get update &&     apt-get -y install apt-transport-https curl &&     apt-get -y install jq software-properties-common
 ---> Running in 50d552f5d521
Get:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [1822 B]
Get:4 http://ftp.tu-ilmenau.de/mirror/ubuntu bionic-backports InRelease [74.6 kB]
Get:2 http://packages.oth-regensburg.de/ubuntu bionic InRelease [242 kB]
Get:3 https://mirrors.xtom.de/ubuntu bionic-updates InRelease [88.7 kB]
Get:5 http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:6 http://ftp.tu-ilmenau.de/mirror/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Get:7 http://ftp.tu-ilmenau.de/mirror/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Get:8 https://mirrors.xtom.de/ubuntu bionic-updates/restricted amd64 Packages [699 kB]
Get:9 https://mirrors.xtom.de/ubuntu bionic-updates/multiverse amd64 Packages [34.4 kB]
Get:10 https://mirrors.xtom.de/ubuntu bionic-updates/main amd64 Packages [2867 kB]
Get:11 http://packages.oth-regensburg.de/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:12 http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2430 kB]
Get:13 https://mirrors.xtom.de/ubuntu bionic-updates/universe amd64 Packages [2222 kB]
Get:14 http://packages.oth-regensburg.de/ubuntu bionic/main amd64 Packages [1344 kB]
Get:15 http://packages.oth-regensburg.de/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:16 http://packages.oth-regensburg.de/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:17 http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [666 kB]
Get:18 http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [26.8 kB]
Get:19 http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1442 kB]
Fetched 23.8 MB in 7s (3562 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libcurl4
The following NEW packages will be installed:
  apt-transport-https
The following packages will be upgraded:
  curl libcurl4
2 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 383 kB of archives.
After this operation, 168 kB of additional disk space will be used.
Get:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [1822 B]
Get:4 http://ftp.uni-mainz.de/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.16 [220 kB]
Get:2 http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages bionic-updates/universe amd64 apt-transport-https all 1.6.14 [4348 B]
Ign:3 https://ubuntu.cybertips.info/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.16
Get:3 https://debian.charite.de/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.16 [159 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 384 kB in 1s (471 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 6268 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.14_all.deb ...
Unpacking apt-transport-https (1.6.14) ...
Preparing to unpack .../curl_7.58.0-2ubuntu3.16_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.16) over (7.58.0-2ubuntu3.12) ...
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.16_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.16) over (7.58.0-2ubuntu3.12) ...
Setting up apt-transport-https (1.6.14) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.16) ...
Setting up curl (7.58.0-2ubuntu3.16) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  cron distro-info-data file gir1.2-glib-2.0 iso-codes libapt-inst2.0
  libgirepository-1.0-1 libjq1 libmagic-mgc libmagic1 libmpdec2 libonig4
  libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib lsb-release
  mime-support powermgmt-base python-apt-common python3 python3-apt
  python3-dbus python3-gi python3-minimal python3-software-properties
  python3.6 python3.6-minimal unattended-upgrades xz-utils
Suggested packages:
  anacron logrotate checksecurity exim4 | postfix | mail-transport-agent
  isoquery lsb python3-doc python3-tk python3-venv python3-apt-dbg
  python-apt-doc python-dbus-doc python3-dbus-dbg python3.6-venv python3.6-doc
  binutils binfmt-support bsd-mailx default-mta | mail-transport-agent
  needrestart
The following NEW packages will be installed:
  cron distro-info-data file gir1.2-glib-2.0 iso-codes jq libapt-inst2.0
  libgirepository-1.0-1 libjq1 libmagic-mgc libmagic1 libmpdec2 libonig4
  libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib lsb-release
  mime-support powermgmt-base python-apt-common python3 python3-apt
  python3-dbus python3-gi python3-minimal python3-software-properties
  python3.6 python3.6-minimal software-properties-common unattended-upgrades
  xz-utils
0 upgraded, 31 newly installed, 0 to remove and 33 not upgraded.
Need to get 8298 kB of archives.
After this operation, 52.4 MB of additional disk space will be used.
Get:1 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [1822 B]
Get:8 http://ftp.tu-ilmenau.de/mirror/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.4 [1712 kB]
Get:4 http://ftp.fau.de/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.4 [1610 kB]
Ign:21 https://ubuntu.cybertips.info/ubuntu bionic-updates/main amd64 python3-gi amd64 3.26.1-2ubuntu1
Get:12 http://ftp.rrzn.uni-hannover.de/pub/mirror/linux/ubuntu bionic-updates/main amd64 distro-info-data all 0.37ubuntu0.13 [4656 B]
Get:11 https://debian.charite.de/ubuntu bionic-updates/main amd64 python3 amd64 3.6.7-1~18.04 [47.2 kB]
Ign:26 https://mirror.dogado.de/ubuntu bionic-updates/main amd64 python3-apt amd64 1.6.5ubuntu0.7
Get:15 http://ftp.stw-bonn.de/ubuntu bionic-updates/main amd64 file amd64 1:5.32-2ubuntu0.4 [22.1 kB]
Get:9 http://mirror.ratiokontakt.de/mirror/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.4 [203 kB]
Get:13 http://mirror2.tuxinator.org/ubuntu bionic-updates/main amd64 libmagic-mgc amd64 1:5.32-2ubuntu0.4 [184 kB]
Ign:28 https://de.mirrors.clouvider.net/ubuntu bionic/universe amd64 libjq1 amd64 1.5+dfsg-2
Get:10 http://mirror.funkfreundelandshut.de/ubuntu bionic-updates/main amd64 libpython3-stdlib amd64 3.6.7-1~18.04 [7240 B]
Get:22 http://ftp.tu-ilmenau.de/mirror/ubuntu bionic/main amd64 xz-utils amd64 5.2.2-1.3 [83.8 kB]
Get:5 http://ubuntu.mirror.lrz.de/ubuntu bionic-updates/main amd64 python3-minimal amd64 3.6.7-1~18.04 [23.7 kB]
Get:27 http://ubuntu.mirror.lrz.de/ubuntu bionic/universe amd64 libonig4 amd64 6.7.0-1 [119 kB]
Get:19 http://mirror.ratiokontakt.de/mirror/ubuntu bionic/main amd64 lsb-release all 9.20170808ubuntu1 [11.0 kB]
Get:7 https://ftp.uni-stuttgart.de/ubuntu bionic/main amd64 libmpdec2 amd64 2.4.2-1ubuntu1 [84.1 kB]
Get:14 http://ubuntu.mirror.tudos.de/ubuntu bionic-updates/main amd64 libmagic1 amd64 1:5.32-2ubuntu0.4 [68.6 kB]
Get:29 http://ubuntu.mirror.tudos.de/ubuntu bionic/universe amd64 jq amd64 1.5+dfsg-2 [45.6 kB]
Get:28 https://ftp.uni-stuttgart.de/ubuntu bionic/universe amd64 libjq1 amd64 1.5+dfsg-2 [111 kB]
Ign:2 http://ftp.tu-chemnitz.de/pub/linux/ubuntu-ports bionic/main amd64 cron amd64 3.0pl1-128.1ubuntu1
Ign:2 https://mirror.de.leaseweb.net/ubuntu bionic/main amd64 cron amd64 3.0pl1-128.1ubuntu1
Get:2 http://ubuntu.mirror.lrz.de/ubuntu bionic/main amd64 cron amd64 3.0pl1-128.1ubuntu1 [68.8 kB]
Ign:3 https://mirror.de.vangus.co.il/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.4
Get:30 https://mirror.scaleuptech.com/ubuntu bionic-updates/main amd64 python3-software-properties all 0.96.24.32.14 [23.9 kB]
Ign:6 https://mirror.de.vangus.co.il/ubuntu bionic/main amd64 mime-support all 3.60ubuntu1
Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgirepository-1.0-1 amd64 1.56.1-1 [82.0 kB]
Get:6 https://debian.charite.de/ubuntu bionic/main amd64 mime-support all 3.60ubuntu1 [30.1 kB]
Get:17 http://ftp5.gwdg.de/pub/linux/debian/ubuntu bionic/main amd64 gir1.2-glib-2.0 amd64 1.56.1-1 [131 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libapt-inst2.0 amd64 1.6.14 [57.3 kB]
Get:20 http://mirror.stw-aachen.de/ubuntu bionic/main amd64 python3-dbus amd64 1.2.6-1 [89.9 kB]
Get:23 http://suse.uni-leipzig.de/pub/releases.ubuntu.com/ubuntu bionic/main amd64 iso-codes all 3.79-1 [2565 kB]
Get:24 http://mirror.wtnet.de/ubuntu bionic/main amd64 powermgmt-base all 1.33 [8660 B]
Get:25 http://ftp.halifax.rwth-aachen.de/ubuntu bionic-updates/main amd64 python-apt-common all 1.6.5ubuntu0.7 [16.9 kB]
Get:31 http://mirror.kamp.de/ubuntu bionic-updates/main amd64 software-properties-common all 0.96.24.32.14 [10.1 kB]
Get:32 http://ftp.halifax.rwth-aachen.de/ubuntu bionic-updates/main amd64 unattended-upgrades all 1.1ubuntu1.18.04.14 [41.7 kB]
Get:21 http://ftp-stud.hs-esslingen.de/ubuntu bionic-updates/main amd64 python3-gi amd64 3.26.1-2ubuntu1 [153 kB]
Get:26 http://mirror.wtnet.de/ubuntu bionic-updates/main amd64 python3-apt amd64 1.6.5ubuntu0.7 [149 kB]
Get:3 http://ftp.stw-bonn.de/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.4 [534 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8300 kB in 5s (1616 kB/s)
Selecting previously unselected package cron.
(Reading database ... 6272 files and directories currently installed.)
Preparing to unpack .../cron_3.0pl1-128.1ubuntu1_amd64.deb ...
Unpacking cron (3.0pl1-128.1ubuntu1) ...
Selecting previously unselected package libpython3.6-minimal:amd64.
Preparing to unpack .../libpython3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../python3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking python3.6-minimal (3.6.9-1~18.04ubuntu1.4) ...
Setting up libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Setting up python3.6-minimal (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 6548 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.6.7-1~18.04_amd64.deb ...
Unpacking python3-minimal (3.6.7-1~18.04) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../1-mime-support_3.60ubuntu1_all.deb ...
Unpacking mime-support (3.60ubuntu1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../2-libmpdec2_2.4.2-1ubuntu1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1ubuntu1) ...
Selecting previously unselected package libpython3.6-stdlib:amd64.
Preparing to unpack .../3-libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../4-python3.6_3.6.9-1~18.04ubuntu1.4_amd64.deb ...
Unpacking python3.6 (3.6.9-1~18.04ubuntu1.4) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../5-libpython3-stdlib_3.6.7-1~18.04_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.6.7-1~18.04) ...
Setting up python3-minimal (3.6.7-1~18.04) ...
Selecting previously unselected package python3.
(Reading database ... 6978 files and directories currently installed.)
Preparing to unpack .../00-python3_3.6.7-1~18.04_amd64.deb ...
Unpacking python3 (3.6.7-1~18.04) ...
Selecting previously unselected package distro-info-data.
Preparing to unpack .../01-distro-info-data_0.37ubuntu0.13_all.deb ...
Unpacking distro-info-data (0.37ubuntu0.13) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../02-libmagic-mgc_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic-mgc (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../03-libmagic1_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package file.
Preparing to unpack .../04-file_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking file (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack .../05-libgirepository-1.0-1_1.56.1-1_amd64.deb ...
Unpacking libgirepository-1.0-1:amd64 (1.56.1-1) ...
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack .../06-gir1.2-glib-2.0_1.56.1-1_amd64.deb ...
Unpacking gir1.2-glib-2.0:amd64 (1.56.1-1) ...
Selecting previously unselected package libapt-inst2.0:amd64.
Preparing to unpack .../07-libapt-inst2.0_1.6.14_amd64.deb ...
Unpacking libapt-inst2.0:amd64 (1.6.14) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../08-lsb-release_9.20170808ubuntu1_all.deb ...
Unpacking lsb-release (9.20170808ubuntu1) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../09-python3-dbus_1.2.6-1_amd64.deb ...
Unpacking python3-dbus (1.2.6-1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../10-python3-gi_3.26.1-2ubuntu1_amd64.deb ...
Unpacking python3-gi (3.26.1-2ubuntu1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../11-xz-utils_5.2.2-1.3_amd64.deb ...
Unpacking xz-utils (5.2.2-1.3) ...
Selecting previously unselected package iso-codes.
Preparing to unpack .../12-iso-codes_3.79-1_all.deb ...
Unpacking iso-codes (3.79-1) ...
Selecting previously unselected package powermgmt-base.
Preparing to unpack .../13-powermgmt-base_1.33_all.deb ...
Unpacking powermgmt-base (1.33) ...
Selecting previously unselected package python-apt-common.
Preparing to unpack .../14-python-apt-common_1.6.5ubuntu0.7_all.deb ...
Unpacking python-apt-common (1.6.5ubuntu0.7) ...
Selecting previously unselected package python3-apt.
Preparing to unpack .../15-python3-apt_1.6.5ubuntu0.7_amd64.deb ...
Unpacking python3-apt (1.6.5ubuntu0.7) ...
Selecting previously unselected package libonig4:amd64.
Preparing to unpack .../16-libonig4_6.7.0-1_amd64.deb ...
Unpacking libonig4:amd64 (6.7.0-1) ...
Selecting previously unselected package libjq1:amd64.
Preparing to unpack .../17-libjq1_1.5+dfsg-2_amd64.deb ...
Unpacking libjq1:amd64 (1.5+dfsg-2) ...
Selecting previously unselected package jq.
Preparing to unpack .../18-jq_1.5+dfsg-2_amd64.deb ...
Unpacking jq (1.5+dfsg-2) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../19-python3-software-properties_0.96.24.32.14_all.deb ...
Unpacking python3-software-properties (0.96.24.32.14) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../20-software-properties-common_0.96.24.32.14_all.deb ...
Unpacking software-properties-common (0.96.24.32.14) ...
Selecting previously unselected package unattended-upgrades.
Preparing to unpack .../21-unattended-upgrades_1.1ubuntu1.18.04.14_all.deb ...
Unpacking unattended-upgrades (1.1ubuntu1.18.04.14) ...
Setting up python-apt-common (1.6.5ubuntu0.7) ...
Setting up libapt-inst2.0:amd64 (1.6.14) ...
Setting up powermgmt-base (1.33) ...
Setting up mime-support (3.60ubuntu1) ...
Setting up iso-codes (3.79-1) ...
Setting up libonig4:amd64 (6.7.0-1) ...
Setting up distro-info-data (0.37ubuntu0.13) ...
Setting up libgirepository-1.0-1:amd64 (1.56.1-1) ...
Setting up libmagic-mgc (1:5.32-2ubuntu0.4) ...
Setting up libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Setting up libjq1:amd64 (1.5+dfsg-2) ...
Setting up gir1.2-glib-2.0:amd64 (1.56.1-1) ...
Setting up xz-utils (5.2.2-1.3) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
Setting up cron (3.0pl1-128.1ubuntu1) ...
Adding group `crontab' (GID 103) ...
Done.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libmpdec2:amd64 (2.4.2-1ubuntu1) ...
Setting up libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.4) ...
Setting up jq (1.5+dfsg-2) ...
Setting up python3.6 (3.6.9-1~18.04ubuntu1.4) ...
Setting up file (1:5.32-2ubuntu0.4) ...
Setting up libpython3-stdlib:amd64 (3.6.7-1~18.04) ...
Setting up python3 (3.6.7-1~18.04) ...
Setting up python3-gi (3.26.1-2ubuntu1) ...
Setting up lsb-release (9.20170808ubuntu1) ...
Setting up python3-apt (1.6.5ubuntu0.7) ...
Setting up python3-dbus (1.2.6-1) ...
Setting up unattended-upgrades (1.1ubuntu1.18.04.14) ...

Creating config file /etc/apt/apt.conf.d/20auto-upgrades with new version

Creating config file /etc/apt/apt.conf.d/50unattended-upgrades with new version
Setting up python3-software-properties (0.96.24.32.14) ...
Setting up software-properties-common (0.96.24.32.14) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
 ---> 5841fd503058
Step 4/22 : RUN echo "deb https://dl.bintray.com/rundeck/rundeck-deb /" | sudo tee -a /etc/apt/sources.list
 ---> Running in e8cd5c3eef62
deb https://dl.bintray.com/rundeck/rundeck-deb /
 ---> 9bbe74d2c309
Step 5/22 : RUN curl "https://bintray.com/user/downloadSubjectPublicKey?username=bintray" > /tmp/bintray.gpg.key
 ---> Running in eb417dc85021
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    225      0 --:--:-- --:--:-- --:--:--   225
 ---> e991a7cafd5e
Step 6/22 : RUN apt-key add - < /tmp/bintray.gpg.key
 ---> Running in ea9874436164
Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: no valid OpenPGP data found.
1 error occurred:
    * Status: The command '/bin/sh -c apt-key add - < /tmp/bintray.gpg.key' returned a non-zero code: 2, Code: 2

Thanks!