From ebfd9e1e33d4d6e9c02d290bec522ed4b54b4aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=93=AD?= Date: Sat, 3 Dec 2022 15:29:00 +0800 Subject: [PATCH] Add Harbor v2.4.1 on openEuler 22.09 --- harbor-chartmuseum/2.4.1/22.09/Dockerfile | 13 ++++++++ harbor-chartmuseum/2.4.1/22.09/entrypoint.sh | 5 +++ harbor-chartmuseum/README.md | 33 +++++++++++++++++++ harbor-core/2.4.1/22.09/Dockerfile | 11 +++++++ harbor-core/2.4.1/22.09/entrypoint.sh | 5 +++ harbor-core/README.md | 33 +++++++++++++++++++ harbor-jobservice/2.4.1/22.09/Dockerfile | 13 ++++++++ harbor-jobservice/2.4.1/22.09/entrypoint.sh | 5 +++ harbor-jobservice/README.md | 33 +++++++++++++++++++ harbor-notary-server/2.4.1/22.09/Dockerfile | 11 +++++++ .../2.4.1/22.09/entrypoint.sh | 5 +++ harbor-notary-server/README.md | 33 +++++++++++++++++++ harbor-notary-signer/2.4.1/22.09/Dockerfile | 11 +++++++ .../2.4.1/22.09/entrypoint.sh | 5 +++ harbor-notary-signer/README.md | 33 +++++++++++++++++++ harbor-portal/2.4.1/22.09/Dockerfile | 15 +++++++++ harbor-portal/README.md | 33 +++++++++++++++++++ harbor-registry/2.4.1/22.09/Dockerfile | 13 ++++++++ harbor-registry/2.4.1/22.09/entrypoint.sh | 5 +++ harbor-registry/README.md | 33 +++++++++++++++++++ harbor-registryctl/2.4.1/22.09/Dockerfile | 13 ++++++++ harbor-registryctl/2.4.1/22.09/entrypoint.sh | 5 +++ harbor-registryctl/README.md | 33 +++++++++++++++++++ harbor-trivy-adapter/2.4.1/22.09/Dockerfile | 11 +++++++ .../2.4.1/22.09/entrypoint.sh | 5 +++ harbor-trivy-adapter/README.md | 33 +++++++++++++++++++ 26 files changed, 448 insertions(+) create mode 100644 harbor-chartmuseum/2.4.1/22.09/Dockerfile create mode 100644 harbor-chartmuseum/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-chartmuseum/README.md create mode 100644 harbor-core/2.4.1/22.09/Dockerfile create mode 100755 harbor-core/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-core/README.md create mode 100644 harbor-jobservice/2.4.1/22.09/Dockerfile create mode 100755 harbor-jobservice/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-jobservice/README.md create mode 100644 harbor-notary-server/2.4.1/22.09/Dockerfile create mode 100644 harbor-notary-server/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-notary-server/README.md create mode 100644 harbor-notary-signer/2.4.1/22.09/Dockerfile create mode 100644 harbor-notary-signer/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-notary-signer/README.md create mode 100644 harbor-portal/2.4.1/22.09/Dockerfile create mode 100644 harbor-portal/README.md create mode 100644 harbor-registry/2.4.1/22.09/Dockerfile create mode 100644 harbor-registry/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-registry/README.md create mode 100644 harbor-registryctl/2.4.1/22.09/Dockerfile create mode 100755 harbor-registryctl/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-registryctl/README.md create mode 100644 harbor-trivy-adapter/2.4.1/22.09/Dockerfile create mode 100644 harbor-trivy-adapter/2.4.1/22.09/entrypoint.sh create mode 100644 harbor-trivy-adapter/README.md diff --git a/harbor-chartmuseum/2.4.1/22.09/Dockerfile b/harbor-chartmuseum/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..9be6b2c8 --- /dev/null +++ b/harbor-chartmuseum/2.4.1/22.09/Dockerfile @@ -0,0 +1,13 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-chartmuseum /usr/bin/harbor-chartmuseum + +VOLUME ["/chart_storage"] + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-chartmuseum/2.4.1/22.09/entrypoint.sh b/harbor-chartmuseum/2.4.1/22.09/entrypoint.sh new file mode 100644 index 00000000..0f1e52b8 --- /dev/null +++ b/harbor-chartmuseum/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +exec /usr/bin/harbor-chartmuseum diff --git a/harbor-chartmuseum/README.md b/harbor-chartmuseum/README.md new file mode 100644 index 00000000..07a0c048 --- /dev/null +++ b/harbor-chartmuseum/README.md @@ -0,0 +1,33 @@ +# Harbor Chartmuseum + +## Quick reference + +- The official Harbor Chartmuseum docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-chartmuseum:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-chartmuseum:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-chartmuseum v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-core/2.4.1/22.09/Dockerfile b/harbor-core/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..8c7b67b9 --- /dev/null +++ b/harbor-core/2.4.1/22.09/Dockerfile @@ -0,0 +1,11 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-core /usr/bin/harbor-core + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-core/2.4.1/22.09/entrypoint.sh b/harbor-core/2.4.1/22.09/entrypoint.sh new file mode 100755 index 00000000..3b028c17 --- /dev/null +++ b/harbor-core/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +exec /usr/bin/harbor-core diff --git a/harbor-core/README.md b/harbor-core/README.md new file mode 100644 index 00000000..4246fc64 --- /dev/null +++ b/harbor-core/README.md @@ -0,0 +1,33 @@ +# Harbor Core + +## Quick reference + +- The official Harbor Core docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-core:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-core:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-core v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-jobservice/2.4.1/22.09/Dockerfile b/harbor-jobservice/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..216a078f --- /dev/null +++ b/harbor-jobservice/2.4.1/22.09/Dockerfile @@ -0,0 +1,13 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-jobservice /usr/bin/harbor-jobservice + +VOLUME ["/var/log/jobs/"] + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-jobservice/2.4.1/22.09/entrypoint.sh b/harbor-jobservice/2.4.1/22.09/entrypoint.sh new file mode 100755 index 00000000..8ac122a4 --- /dev/null +++ b/harbor-jobservice/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +exec /usr/bin/harbor-jobservice diff --git a/harbor-jobservice/README.md b/harbor-jobservice/README.md new file mode 100644 index 00000000..a2a12fb1 --- /dev/null +++ b/harbor-jobservice/README.md @@ -0,0 +1,33 @@ +# Harbor Jobservice + +## Quick reference + +- The official Harbor Jobservice docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-jobservice:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-jobservice:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-jobservice v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-notary-server/2.4.1/22.09/Dockerfile b/harbor-notary-server/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..58efb828 --- /dev/null +++ b/harbor-notary-server/2.4.1/22.09/Dockerfile @@ -0,0 +1,11 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-notary-server /usr/bin/harbor-notary-server + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-notary-server/2.4.1/22.09/entrypoint.sh b/harbor-notary-server/2.4.1/22.09/entrypoint.sh new file mode 100644 index 00000000..289ab8a1 --- /dev/null +++ b/harbor-notary-server/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +exec /usr/bin/harbor-notary-server diff --git a/harbor-notary-server/README.md b/harbor-notary-server/README.md new file mode 100644 index 00000000..216c8fab --- /dev/null +++ b/harbor-notary-server/README.md @@ -0,0 +1,33 @@ +# Harbor Notary Server + +## Quick reference + +- The official Harbor Notary Server docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-notary-server:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-notary-server:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-notary-server v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-notary-signer/2.4.1/22.09/Dockerfile b/harbor-notary-signer/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..cb713ce2 --- /dev/null +++ b/harbor-notary-signer/2.4.1/22.09/Dockerfile @@ -0,0 +1,11 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-notary-signer /usr/bin/harbor-notary-signer + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-notary-signer/2.4.1/22.09/entrypoint.sh b/harbor-notary-signer/2.4.1/22.09/entrypoint.sh new file mode 100644 index 00000000..a84abccc --- /dev/null +++ b/harbor-notary-signer/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +exec /usr/bin/harbor-notary-signer diff --git a/harbor-notary-signer/README.md b/harbor-notary-signer/README.md new file mode 100644 index 00000000..f2fe3a49 --- /dev/null +++ b/harbor-notary-signer/README.md @@ -0,0 +1,33 @@ +# Harbor Notary Signer + +## Quick reference + +- The official Harbor Notary Signer docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-notary-signer:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-notary-signer:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-notary-signer v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-portal/2.4.1/22.09/Dockerfile b/harbor-portal/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..ec2e98af --- /dev/null +++ b/harbor-portal/2.4.1/22.09/Dockerfile @@ -0,0 +1,15 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +RUN dnf install nginx -y + +COPY --from=basic /usr/share/harbor/html /usr/share/nginx/html + +VOLUME /var/cache/nginx /var/log/nginx /run + +STOPSIGNAL SIGQUIT + +CMD ["nginx", "-g", "daemon off;"] diff --git a/harbor-portal/README.md b/harbor-portal/README.md new file mode 100644 index 00000000..965d8ee1 --- /dev/null +++ b/harbor-portal/README.md @@ -0,0 +1,33 @@ +# Harbor Portal + +## Quick reference + +- The official Harbor Portal docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-portal:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-portal:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-portal v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-registry/2.4.1/22.09/Dockerfile b/harbor-registry/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..5722fac5 --- /dev/null +++ b/harbor-registry/2.4.1/22.09/Dockerfile @@ -0,0 +1,13 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-registry /usr/bin/harbor-registry + +VOLUME ["/storage"] + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-registry/2.4.1/22.09/entrypoint.sh b/harbor-registry/2.4.1/22.09/entrypoint.sh new file mode 100644 index 00000000..b38a5891 --- /dev/null +++ b/harbor-registry/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +exec /usr/bin/harbor-registry diff --git a/harbor-registry/README.md b/harbor-registry/README.md new file mode 100644 index 00000000..9cf8e949 --- /dev/null +++ b/harbor-registry/README.md @@ -0,0 +1,33 @@ +# Harbor Registry + +## Quick reference + +- The official Harbor Registry docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-registry:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-registry:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-registry v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-registryctl/2.4.1/22.09/Dockerfile b/harbor-registryctl/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..6c56d345 --- /dev/null +++ b/harbor-registryctl/2.4.1/22.09/Dockerfile @@ -0,0 +1,13 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-registryctl /usr/bin/harbor-registryctl + +VOLUME ["/var/lib/registry"] + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-registryctl/2.4.1/22.09/entrypoint.sh b/harbor-registryctl/2.4.1/22.09/entrypoint.sh new file mode 100755 index 00000000..eaf726e4 --- /dev/null +++ b/harbor-registryctl/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +exec /usr/bin/harbor-registryctl diff --git a/harbor-registryctl/README.md b/harbor-registryctl/README.md new file mode 100644 index 00000000..fa2444a2 --- /dev/null +++ b/harbor-registryctl/README.md @@ -0,0 +1,33 @@ +# Harbor Registryctl + +## Quick reference + +- The official Harbor Registryctl docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-registryctl:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-registryctl:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-registryctl v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. diff --git a/harbor-trivy-adapter/2.4.1/22.09/Dockerfile b/harbor-trivy-adapter/2.4.1/22.09/Dockerfile new file mode 100644 index 00000000..a39447fc --- /dev/null +++ b/harbor-trivy-adapter/2.4.1/22.09/Dockerfile @@ -0,0 +1,11 @@ +FROM openeuler/openeuler:22.09 as basic + +RUN dnf install harbor -y + +FROM openeuler/openeuler:22.09 + +COPY entrypoint.sh /usr/bin/entrypoint.sh + +COPY --from=basic /usr/bin/harbor-scanner-trivy /usr/bin/harbor-scanner-trivy + +ENTRYPOINT ["entrypoint.sh"] diff --git a/harbor-trivy-adapter/2.4.1/22.09/entrypoint.sh b/harbor-trivy-adapter/2.4.1/22.09/entrypoint.sh new file mode 100644 index 00000000..2b1bc847 --- /dev/null +++ b/harbor-trivy-adapter/2.4.1/22.09/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +set -e + +exec /usr/bin/harbor-scanner-trivy diff --git a/harbor-trivy-adapter/README.md b/harbor-trivy-adapter/README.md new file mode 100644 index 00000000..4ffdf52e --- /dev/null +++ b/harbor-trivy-adapter/README.md @@ -0,0 +1,33 @@ +# Harbor Trivy Adapter + +## Quick reference + +- The official Harbor Trivy Adapter docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative) + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community) + +## Build reference + +- Build images and push + +```shell +docker buildx build -t "openeuler/harbor-trivy-adapter:$VERSION" --platform linux/amd64,linux/arm64 . --push +``` + +We are using `buildx` in here to generate multi-arch images, see more in [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/) + +- Run + +```shell +docker run -d openeuler/harbor-trivy-adapter:$VERSION +``` + +## Supported tags and respective Dockerfile links + +- 2.4.1-22.09: harbor-trivy-adapter v2.4.1, openEuler 22.09 + +## Operating System + +Linux/Unix, ARM64 or x86-64 architecture. -- Gitee