mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 16:20:28 +00:00
2f6400fe57
The ImageStream and BuildConfig use the Containerfile to build a container image in the OpenShift registry so that automated image mirroring can be configured. Signed-off-by: Niels de Vos <ndevos@redhat.com>
15 lines
224 B
Docker
15 lines
224 B
Docker
FROM centos:latest
|
|
|
|
RUN true \
|
|
&& yum -y install skopeo \
|
|
&& yum -y clean all \
|
|
&& true
|
|
|
|
ADD images.txt /opt/mirror/
|
|
ADD mirror-images.sh /opt/mirror/
|
|
|
|
ENV HOME=/opt/mirror
|
|
WORKDIR /opt/mirror
|
|
|
|
CMD ["./mirror-images.sh"]
|