]> review.fuel-infra Code Review - tools/sustaining.git/commitdiff
Store 2019.2.19 Dockerfile for 2019.2.19 jenkins formula 71/42071/1
authorVladimir Khlyunev <vkhlyunev@mirantis.com>
Mon, 12 Sep 2022 18:00:39 +0000 (22:00 +0400)
committerVladimir Khlyunev <vkhlyunev@mirantis.com>
Mon, 12 Sep 2022 18:00:39 +0000 (22:00 +0400)
Change-Id: If2b8154efe952ea48d9f6a1ec1a1580d93483150

maintenance-ci/mcp/docker-repo-salt-formula-jenkins/Dockerfile [new file with mode: 0644]

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 (file)
index 0000000..8d8143a
--- /dev/null
@@ -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