-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from yzewei/main
kubevirt
- Loading branch information
Showing
325 changed files
with
17,307 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM lcr.loongnix.cn/kubevirt/centos_base:1.52.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
COPY cdi-apiserver /usr/bin/ | ||
|
||
USER 1001 | ||
|
||
WORKDIR /home/cdi-apiserver | ||
|
||
ENTRYPOINT ["/usr/bin/cdi-apiserver","-alsologtostderr"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=cdi-apiserver | ||
TAG?=1.52.0 | ||
LATEST?=true | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest | ||
|
||
default: image | ||
|
||
download: | ||
wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/cdi-apiserver/1.52.0/cdi-apiserver | ||
chmod +x cdi-apiserver | ||
|
||
image: download | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) | ||
#latest image | ||
@if [ $(LATEST) = "true" ]; \ | ||
then \ | ||
docker tag $(IMAGE) $(LATEST_IMAGE); \ | ||
docker push $(LATEST_IMAGE); \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM lcr.loongnix.cn/kubevirt/centos_base:1.52.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
COPY cdi-controller /usr/bin/ | ||
|
||
USER 1001 | ||
|
||
WORKDIR /home/cdi-controller | ||
|
||
ENTRYPOINT ["/usr/bin/cdi-controller","-alsologtostderr"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=cdi-controller | ||
TAG?=1.52.0 | ||
LATEST?=true | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest | ||
|
||
default: image | ||
|
||
download: | ||
wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/cdi-controller/1.52.0/cdi-controller | ||
chmod +x cdi-controller | ||
|
||
image: download | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) | ||
#latest image | ||
@if [ $(LATEST) = "true" ]; \ | ||
then \ | ||
docker tag $(IMAGE) $(LATEST_IMAGE); \ | ||
docker push $(LATEST_IMAGE); \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM cr.loongnix.cn/kubevirt/centos_base:1.52.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
COPY cdi-operator \ | ||
csv-generator \ | ||
/usr/bin/ | ||
|
||
USER 1001 | ||
|
||
WORKDIR /home/cdi-operator | ||
|
||
ENTRYPOINT ["/usr/bin/cdi-operator] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=cdi-operator | ||
TAG?=1.52.0 | ||
LATEST?=true | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest | ||
|
||
default: image | ||
|
||
download: | ||
wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/cdi-operator/1.52.0/cdi-operator | ||
wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/csv-generator/1.52.0/csv-generator | ||
chmod +x cdi-operator csv-generator | ||
|
||
image: download | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) | ||
#latest image | ||
@if [ $(LATEST) = "true" ]; \ | ||
then \ | ||
docker tag $(IMAGE) $(LATEST_IMAGE); \ | ||
docker push $(LATEST_IMAGE); \ | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM lcr.loongnix.cn/kubevirt/centos_base:1.52.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
COPY cdi-uploadserver \ | ||
/usr/bin/ | ||
|
||
COPY install_rpm.sh packages.txt / | ||
|
||
RUN ./install_rpm.sh; \ | ||
rm -rf install_rpm.sh packages.txt | ||
|
||
|
||
ENTRYPOINT ["/usr/bin/cdi-uploadserver","-alsologtostderr"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=cdi-uploadserver | ||
TAG?=1.52.0 | ||
LATEST?=true | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
LATEST_IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):latest | ||
|
||
default: image | ||
|
||
download: clean | ||
unset http_proxy && wget http://cloud.loongnix.cn/releases/loongarch64/kubevirt/cdi-uploadserver/1.52.0/cdi-uploadserver | ||
chmod +x cdi-uploadserver | ||
|
||
image: download | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) | ||
#latest image | ||
@if [ $(LATEST) = "true" ]; \ | ||
then \ | ||
docker tag $(IMAGE) $(LATEST_IMAGE); \ | ||
docker push $(LATEST_IMAGE); \ | ||
fi | ||
|
||
clean: | ||
rm -rf cdi-uploadserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
PACKAGES_FILE="packages.txt" | ||
|
||
packages=$(cat "$PACKAGES_FILE" | tr '\n' ' ') | ||
echo "Downloading $packages" | ||
|
||
dnf install -y $packages | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
acl | ||
alternatives | ||
basesystem | ||
bash | ||
ca-certificates | ||
coreutils-single | ||
crypto-policies | ||
curl | ||
filesystem | ||
gawk | ||
glib2 | ||
glibc | ||
glibc-common | ||
glibc-minimal-langpack | ||
gmp | ||
gnutls | ||
grep | ||
keyutils-libs | ||
krb5-libs | ||
libacl | ||
libaio | ||
libattr | ||
libblkid | ||
libcap | ||
libcom_err | ||
libcurl-minimal | ||
libffi | ||
libgcc | ||
libgcrypt | ||
libgpg-error | ||
libidn2 | ||
libmount | ||
libnbd | ||
libnghttp2 | ||
libselinux | ||
libsepol | ||
libsigsegv | ||
libsmartcols | ||
libtasn1 | ||
libunistring | ||
libuuid | ||
libverto | ||
libxcrypt | ||
libxml2 | ||
libzstd | ||
lz4-libs | ||
mpfr | ||
ncurses-base | ||
ncurses-libs | ||
nettle | ||
openssl-libs | ||
p11-kit | ||
p11-kit-trust | ||
pcre | ||
pcre2 | ||
qemu-img | ||
readline | ||
sed | ||
setup | ||
systemd-libs | ||
tar | ||
tzdata | ||
vim-minimal | ||
xz-libs | ||
zlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM lcr.loongnix.cn/library/debian:sid | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN groupadd nonroot-user -g 1001 &&\ | ||
useradd -m nonroot-user -u 1001 -g 1001 &&\ | ||
usermod -s /bin/bash nonroot-user | ||
|
||
ENV architecture=loongarch64 | ||
|
||
USER 1001 | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=passwd | ||
TAG?=0.50.0 | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
|
||
|
||
default: image | ||
|
||
image: | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM lcr.loongnix.cn/library/debian:sid | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN groupadd nonroot-user -g 1001 &&\ | ||
useradd -m nonroot-user -u 1001 -g 1001 &&\ | ||
usermod -s /bin/bash nonroot-user | ||
|
||
ENV architecture=loong64 | ||
|
||
USER 1001 | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=passwd | ||
TAG?=0.52.0 | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
|
||
|
||
default: image | ||
|
||
image: | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM lcr.loongnix.cn/library/debian:sid | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN groupadd nonroot-user -g 1001 &&\ | ||
useradd -m nonroot-user -u 1001 -g 1001 &&\ | ||
usermod -s /bin/bash nonroot-user | ||
|
||
ENV architecture=loong64 | ||
|
||
USER 1001 | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This file is generated by the template. | ||
|
||
REGISTRY?=lcr.loongnix.cn | ||
ORGANIZATION?=kubevirt | ||
REPOSITORY?=passwd | ||
TAG?=1.52.0 | ||
|
||
IMAGE=$(REGISTRY)/$(ORGANIZATION)/$(REPOSITORY):$(TAG) | ||
|
||
|
||
default: image | ||
|
||
image: | ||
docker build \ | ||
-t $(IMAGE) \ | ||
. | ||
|
||
push: | ||
docker push $(IMAGE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v0.50.0-dirty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM lcr.loongnix.cn/kubevirt/passwd:0.50.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
COPY .version / | ||
|
||
COPY virt-controller /usr/bin/ | ||
|
||
USER 1001 | ||
|
||
ENTRYPOINT ["/usr/bin/virt-controller"] |
Oops, something went wrong.