diff options
author | Monty Taylor <mordred@inaugust.com> | 2020-04-29 10:09:06 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2020-04-30 19:12:10 -0500 |
commit | 012eaa7fa145a7845537a68867de4f4368b83971 (patch) | |
tree | 1a65e41d1cb13f508854f5536fb1df39815bb352 /Dockerfile | |
parent | e255397eb4dabf9c7ce8b38f18f894bd26e3c874 (diff) | |
download | zuul-012eaa7fa145a7845537a68867de4f4368b83971.tar.gz |
Install skopeo in container images
The container roles in zuul jobs use skopeo to copy to and from
the intermediate registry. It is therefore helpful to have
skopeo in the images.
Change-Id: I1550b2eeca6cb1755976dd884e668bddf960f296
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index 78b68512b..45419c6c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,6 +55,15 @@ COPY --from=builder /usr/local/lib/zuul/ /usr/local/lib/zuul COPY --from=builder /tmp/openshift-install/kubectl /usr/local/bin/kubectl COPY --from=builder /tmp/openshift-install/oc /usr/local/bin/oc +# https://podman.io/getting-started/installation.html +COPY tools/2472D6D0.asc /etc/apt/trusted.gpg.d/kubic.asc +RUN echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list \ + && apt-get update \ + && apt-get install -y \ + skopeo \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + CMD ["/usr/local/bin/zuul-executor", "-f"] FROM zuul as zuul-fingergw |