Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:vulyanov:branches:Virtualization:rebase
virt-controller-container
Dockerfile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Dockerfile of Package virt-controller-container
# SPDX-License-Identifier: Apache-2.0 # Define the tags for OBS and build script builds: #!BuildTag: %%TAGPREFIX%%/virt-controller:%%PKG_VERSION%% #!BuildTag: %%TAGPREFIX%%/virt-controller:%%PKG_VERSION%%.%RELEASE% #!BuildTag: %%TAGPREFIX%%/virt-controller:%%PKG_VERSION%%-%%PKG_RELEASE%% #!ExclusiveArch: x86_64 aarch64 # virt-controller container image # KUBEVIRTBASE and KUBEVIRTFROM defined in prjconf, e.g. # BuildFlags: dockerarg:KUBEVIRTBASE=opensuse/bci/bci-micro # BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/tumbleweed ARG KUBEVIRTBASE ARG KUBEVIRTFROM FROM $KUBEVIRTBASE AS base FROM $KUBEVIRTFROM AS builder COPY --from=base / /chroot/ RUN zypper --installroot /chroot --non-interactive install \ kubevirt-virt-controller \ timezone && \ zypper --installroot /chroot clean --all && \ rm -rf /chroot/var/log/* && \ useradd --prefix /chroot --uid 1001 --create-home --shell /bin/bash virt-controller FROM base # Mandatory labels for the build service: # https://en.opensuse.org/Building_derived_containers # labelprefix=%%LABELPREFIX%% LABEL org.opencontainers.image.title="kubevirt virt-controller container" LABEL org.opencontainers.image.description="Virtualization controller for kubevirt" LABEL org.opencontainers.image.created="%BUILDTIME%" LABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" LABEL org.opencontainers.image.source="%SOURCEURL%" LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/virt-controller:%%PKG_VERSION%%.%RELEASE%" LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%" # endlabelprefix COPY --from=builder /chroot / USER 1001 ENTRYPOINT [ "/usr/bin/virt-controller" ]
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor