From bea7e84452ff72a3736e159eb91943014ce80de6 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Wed, 11 Mar 2020 16:54:30 +0000 Subject: [PATCH] Base on jacekkow/rundeck, get rid of stretch-backports --- Dockerfile | 34 +---------------- /dev/null | 57 ---------------------------- 2 files changed, 2 insertions(+), 89 deletions(-) diff --git a/Dockerfile b/Dockerfile index da4ebd3..7dc66d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,38 +1,8 @@ -FROM openjdk:8-jre-slim-stretch +FROM jacekkow/rundeck -ENV DEBIAN_FRONTEND noninteractive -ENV RDECK_JVM_SETTINGS "-Xmx1024m -Xms256m -XX:MaxMetaspaceSize=256m -server" - -EXPOSE 4440 - -ADD *-gpg.key /root/ RUN apt-get -y update \ && apt-get -y upgrade \ - && apt-get -y install openssh-client wget gnupg \ - && echo "deb http://dl.bintray.com/rundeck/rundeck-deb /" \ - > /etc/apt/sources.list.d/rundeck.list \ - && cat /root/*-gpg.key | apt-key add - \ - && apt-get -y update \ - && apt-get -y install rundeck \ - && apt-get -y clean \ - && rm -Rf /var/lib/apt/lists/* - -RUN echo "deb http://ftp.debian.org/debian stretch-backports main" \ - > /etc/apt/sources.list.d/backports.list \ - && apt-get -y update \ - && apt-get -y upgrade \ - && apt-get -y -t stretch-backports install \ + && apt-get -y install \ ansible git python-netaddr python3-netaddr \ && apt-get -y clean \ && rm -Rf /var/lib/apt/lists/* - -RUN mkdir /etc/rundeck-org \ - && mv /etc/rundeck/* /etc/rundeck-org/ - -ADD run.sh / -CMD /run.sh - -VOLUME /etc/rundeck -VOLUME /var/lib/rundeck/data -VOLUME /var/lib/rundeck/logs -VOLUME /var/rundeck diff --git a/bintray-gpg.key b/bintray-gpg.key deleted file mode 100644 index 801368f..0000000 --- a/bintray-gpg.key +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1 - -mQINBFTi8JIBEACcN1ucQ1u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o9MlPZM2WKL6 -2aSiS3gxGNk4cXVPzt2ZAKMBHk41visnXU0/a1LoIAMAEQEAAYkCHwQYAQIACQUC -VOLwkgIbDAAKCRA3nOGS1AGrYcySEACZIe/xvLjEPhiVtUqcACPyXL4U7uA+V5Ob -ZVRmKKlkuoq3AQGQs/LAyCSYIGRw13hAn1X6tnireTv+vEoMDaX0sB1qUw49WOuB -8h71NaF/UYaPehjRWyNNq5Ul+icNwc8I8tgfkUUFCm/a5nJh8pZWfo+404ujEJzI -I2Qk6SoZqhbq2xrTgCrrKHxG5Gp+a35Y2v+TC8OkAN3Gu9LBg39t058xArBikk8I -jneCbIpDV5Fv5O9J1GuFEHFH2NIolaGppEOswd0ALs3zOmQ8KOZxLa4Gnn59gkQ6 -/8Db1zXTW1QUQWiylvFte0q+fcSwhKEgJKyyN0ptk4Y27rclZxLMvPAjW19bqnVR -tigjWHJlxmBzX2bodLWbx1eRiS5QIeOk32CZlQN7EE0lniKLVNHReCrBmiBVRH9k -sKFbFafs2sI97FP2QySQuugcM30qDutA2Coo58SoAYAYM+0JlKSwwFRH0mGDPCiw -xSzOu4BNlIoxQh3EzrsmiyiB4hWPn9qzX5VM2IXvtL1Wzv8rUtpANkso9MPjsMAf -1Y/KBBaUm0QehoMwCWF/1KwsF9ENu6xon4l+GfkPhuCsEHEdqWIVGXrDLSshMGZ7 -HdyAtUHPXXFV0FCT3KqV4UiJrjAzv7jqfSSUsXT8Qf4H+hC8lTfSBbFNfxP14T+E -JESa2SNRfw== -=EI0Z ------END PGP PUBLIC KEY BLOCK----- diff --git a/run.sh b/run.sh deleted file mode 100755 index 52e0f8c..0000000 --- a/run.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -if [ ! -f /etc/rundeck/profile ]; then - cp -Rfp /etc/rundeck-org/* /etc/rundeck/ -fi - -# Rundeck 3.0 - new property -if ! grep -q -e "^rundeck.log4j.config.file" /etc/rundeck/rundeck-config.properties; then - echo "rundeck.log4j.config.file = /etc/rundeck/log4j.properties" \ - >> /etc/rundeck/rundeck-config.properties -fi - -# Rundeck 2.7, 3.0 - new profile -cp -fp /etc/rundeck-org/profile /etc/rundeck/profile - -chown -Rf rundeck:rundeck /etc/rundeck /var/rundeck /var/lib/rundeck -chmod -Rf o-rwx /etc/rundeck /var/rundeck /var/lib/rundeck - -chown -Rf :adm /var/lib/rundeck/logs -chmod g+s,o+x /var/lib/rundeck/logs - -. /etc/rundeck/profile - -su rundeck -s /bin/bash -c "$rundeckd" diff --git a/rundeck-gpg.key b/rundeck-gpg.key deleted file mode 100644 index cfeef2d..0000000 --- a/rundeck-gpg.key +++ /dev/null @@ -1,57 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQINBFVwoygBEADPrzQqfGJqe0mcyLV86A9qHqZpmAcE7hrnPBHIjrqFL0y5mSWj -sZSnAY49zqBHs1t7SiNGfFE1F8tY+pYLfcJ4/lUxkK+Ti4kNEvSViEtGamiW5T8d -oe/XUz5PwLKrjnqt3F5CVHk+sfNoQY8PxIpfkR/QXBrCOOE7T0+dYzjECP/na26e -TC7fAnjSLbp0tSyU5aNpmk5plXL/tyC7SP/L/bCNihSKmwP3la8kt0JmY4p+OqqA -FM3xbn8vAkpZepa5H1pN7C/uDN2Th7v8nMfYIj9/Frl1WTJ5hhQSE1E93DX9ooJ5 -aS3w4U3vbN+YPGsy/kIPnVfSobW40boK/Ad4Tnc/CEjzw3uueLnLg4BgpcMHHGzb -tgOK7MVDt4YcBs0z2Bi2Wd5ai8JGi00V5rIbtctH9cmiNDu/naDfxNduVC/QsPpu -AeaMZ6XXF//1uPF8R5Q0ROrKGzNmcuLO0jyj9tZiwmjEIuadKBviiva6swcReSis -V3yj3+jdmHgDb98nMxHhuWf6GjANgbvw14u2mvoh2DBN2WeRCY3riz4ij8aSLip9 -FxEOyrpzK7vBdDuTgbN96z+CKWSBG+NT0He3M4LS0E0fn4LwfzZ22Q8Vay+SYGE7 -/QK9pKWZtjXzBhFUZ6giFBj6hPW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