2021-03-12 10:25:22 +01:00
|
|
|
# Defines the tag for OBS and build script builds:
|
2021-03-12 15:54:58 +01:00
|
|
|
#!BuildTag: opensuse/tumbleweed/cdi-uploadserver:%%PKG_VERSION%%
|
|
|
|
#!BuildTag: opensuse/tumbleweed/cdi-uploadserver:%%PKG_VERSION%%.%RELEASE%
|
2021-03-12 10:25:22 +01:00
|
|
|
|
2021-03-12 15:54:58 +01:00
|
|
|
# cdi-uploadserver container image
|
2021-03-12 10:25:22 +01:00
|
|
|
FROM opensuse/tumbleweed
|
|
|
|
|
|
|
|
# labelprefix=org.opensuse.kubevirt
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.title="CDI upload server container"
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.description="Upload server for the data fetching service for VM container images"
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%"
|
|
|
|
PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
|
|
|
|
PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%"
|
2021-03-12 15:54:58 +01:00
|
|
|
PREFIXEDLABEL org.opensuse.reference="opensuse/tumbleweed/cdi-uploadserver:%%PKG_VERSION%%.%RELEASE%"
|
2021-03-12 10:25:22 +01:00
|
|
|
|
|
|
|
RUN zypper update -y && \
|
|
|
|
zypper install -y \
|
|
|
|
qemu-tools qemu-block-curl tar util-linux \
|
|
|
|
containerized-data-importer-uploadserver
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/bin/virt-cdi-uploadserver", "-alsologtostderr" ]
|