From: Vladimir Khlyunev Date: Mon, 12 Sep 2022 18:00:39 +0000 (+0400) Subject: Store 2019.2.19 Dockerfile for 2019.2.19 jenkins formula X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F42071%2F1;p=tools%2Fsustaining.git Store 2019.2.19 Dockerfile for 2019.2.19 jenkins formula Change-Id: If2b8154efe952ea48d9f6a1ec1a1580d93483150 --- diff --git a/maintenance-ci/mcp/docker-repo-salt-formula-jenkins/Dockerfile b/maintenance-ci/mcp/docker-repo-salt-formula-jenkins/Dockerfile new file mode 100644 index 0000000..8d8143a --- /dev/null +++ b/maintenance-ci/mcp/docker-repo-salt-formula-jenkins/Dockerfile @@ -0,0 +1,34 @@ +FROM ubuntu:16.04 + +LABEL rebuild="build1" + +ENV DEBIAN_FRONTEND=noninteractive \ + DEBCONF_NONINTERACTIVE_SEEN=true \ + LANG=C.UTF-8 \ + LANGUAGE=$LANG +SHELL ["/bin/bash", "-xec"] + +RUN echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages \ + && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes \ + && echo 'APT::Get::Install-Recommends "false"; APT::Get::Install-Suggests "false";' > /etc/apt/apt.conf.d/docker-recommends \ + && apt-get update \ + && apt-get -yy dist-upgrade \ + && apt-get install -y aptly wget + + +RUN echo 'deb http://mirror.mirantis.com/update/2019.2.19/salt-formulas/xenial/ xenial main' > /etc/apt/sources.list.d/salt-formula-2019.2.19.list +RUN wget -qO - http://mirror.mirantis.com/update/2019.2.19/salt-formulas/xenial/archive-salt-formulas.key | apt-key add - +RUN apt-get update + +RUN apt download salt-formula-jenkins +RUN ls -ahl + +RUN aptly -distribution="xenial" -architectures=amd64 -component=main repo create salt-formula-jenkins-2019.2.19 +RUN aptly repo add salt-formula-jenkins-2019.2.19 salt-formula-jenkins*deb +RUN aptly repo show -with-packages salt-formula-jenkins-2019.2.19 +RUN aptly publish repo -architectures="amd64" -skip-signing=true salt-formula-jenkins-2019.2.19 salt-formula-jenkins-2019.2.19 +#RUN gpg --default-new-key-algo rsa4096 --gen-key --keyring pubring.gpg +# +#RUN aptly publish repo -architectures="amd64" -gpg-key==4C5289EF salt-formula-jenkins-2019.2.19 +# +CMD aptly serve \ No newline at end of file