diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md deleted file mode 100755 index cc0367b..0000000 --- a/.chglog/CHANGELOG.tpl.md +++ /dev/null @@ -1,23 +0,0 @@ -# Changelog - -{{ range .Versions -}} -## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) - -{{ range .CommitGroups -}} -### {{ .Title }} - -{{ range .Commits -}} -- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(.*)/issues/(.*)" (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") "${1}/pulls/${2}") | trim }} -{{ end }} -{{- end -}} - -{{- if .NoteGroups -}} -{{ range .NoteGroups -}} -### {{ .Title }} - -{{ range .Notes }} -{{ .Body }} -{{ end }} -{{ end -}} -{{ end -}} -{{ end -}} diff --git a/.chglog/config.yml b/.chglog/config.yml deleted file mode 100755 index f5506ff..0000000 --- a/.chglog/config.yml +++ /dev/null @@ -1,25 +0,0 @@ -style: github -template: CHANGELOG.tpl.md -info: - title: CHANGELOG - repository_url: https://gitea.rknet.org/docker/vnu -options: - commit_groups: - title_maps: - feat: Features - fix: Bug Fixes - perf: Performance Improvements - refactor: Code Refactoring - chore: Others - test: Testing - ci: CI Pipeline - docs: Documentation - header: - pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" - pattern_maps: - - Type - - Scope - - Subject - notes: - keywords: - - BREAKING CHANGE diff --git a/.dictionary b/.dictionary new file mode 100644 index 0000000..51719f1 --- /dev/null +++ b/.dictionary @@ -0,0 +1,3 @@ +vnu +VNU +HTML diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index 0aac10f..0000000 --- a/.drone.yml +++ /dev/null @@ -1,197 +0,0 @@ ---- -kind: pipeline -name: test - -platform: - os: linux - arch: amd64 - -steps: - - name: markdownlint - image: thegeeklab/markdownlint-cli - commands: - - markdownlint 'README.md' - -trigger: - ref: - - refs/heads/main - - refs/pull/** - - refs/tags/** - ---- -kind: pipeline -name: build-container - -platform: - os: linux - arch: amd64 - -steps: - - name: dryrun - image: thegeeklab/drone-docker-buildx:23 - settings: - dockerfile: Dockerfile - dry_run: true - provenance: false - repo: thegeeklab/${DRONE_REPO_NAME} - when: - ref: - - refs/pull/** - - - name: tags - image: thegeeklab/docker-autotag - environment: - DOCKER_AUTOTAG_FORCE_LATEST: True - DOCKER_AUTOTAG_IGNORE_PRERELEASE: True - DOCKER_AUTOTAG_OUTPUT_FILE: .tags - DOCKER_AUTOTAG_VERSION: ${DRONE_TAG} - when: - ref: - - refs/heads/main - - refs/tags/** - depends_on: - - dryrun - - - name: changelog-generate - image: thegeeklab/git-chglog - commands: - - git fetch -tq - - git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased} - depends_on: - - tags - - - name: changelog-format - image: thegeeklab/alpine-tools - commands: - - prettier CHANGELOG.md - - prettier -w CHANGELOG.md - depends_on: - - changelog-generate - - - name: publish-dockerhub - image: thegeeklab/drone-docker-buildx:23 - settings: - dockerfile: Dockerfile - password: - from_secret: docker_password - provenance: false - repo: thegeeklab/${DRONE_REPO_NAME} - username: - from_secret: docker_username - when: - ref: - - refs/heads/main - - refs/tags/** - depends_on: - - changelog-format - - - name: publish-quay - image: thegeeklab/drone-docker-buildx:23 - settings: - dockerfile: Dockerfile - password: - from_secret: quay_password - provenance: false - registry: quay.io - repo: quay.io/thegeeklab/${DRONE_REPO_NAME} - username: - from_secret: quay_username - when: - ref: - - refs/heads/main - - refs/tags/** - depends_on: - - changelog-format - - - name: publish-gitea - image: plugins/gitea-release - settings: - api_key: - from_secret: gitea_token - base_url: https://gitea.rknet.org - note: CHANGELOG.md - overwrite: true - title: ${DRONE_TAG} - when: - ref: - - refs/tags/** - depends_on: - - publish-dockerhub - - publish-quay - -trigger: - ref: - - refs/heads/main - - refs/pull/** - - refs/tags/** - -depends_on: - - test - ---- -kind: pipeline -name: notifications - -platform: - os: linux - arch: amd64 - -steps: - - name: pushrm-dockerhub - image: chko/docker-pushrm:1 - environment: - DOCKER_PASS: - from_secret: docker_password - DOCKER_USER: - from_secret: docker_username - PUSHRM_FILE: README.md - PUSHRM_SHORT: Custom image for VNU Html Checker - PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME} - when: - status: - - success - - - name: pushrm-quay - image: chko/docker-pushrm:1 - environment: - APIKEY__QUAY_IO: - from_secret: quay_token - PUSHRM_FILE: README.md - PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME} - when: - status: - - success - - - name: matrix - image: thegeeklab/drone-matrix - settings: - homeserver: - from_secret: matrix_homeserver - password: - from_secret: matrix_password - roomid: - from_secret: matrix_roomid - template: "Status: **{{ .Build.Status }}**
Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}
Message: {{ .Commit.Message.Title }}" - username: - from_secret: matrix_username - when: - status: - - success - - failure - -trigger: - ref: - - refs/heads/main - - refs/tags/** - status: - - success - - failure - -depends_on: - - build-container - ---- -kind: signature -hmac: 1302a2bb98c754b7ad5834e1e925cc4d7f18fd970f1af56e920e4543324836dc - -... diff --git a/.gitsv/config.yml b/.gitsv/config.yml new file mode 100644 index 0000000..acaf506 --- /dev/null +++ b/.gitsv/config.yml @@ -0,0 +1,47 @@ +--- +version: "1.1" + +versioning: + update-major: [] + update-minor: [feat] + update-patch: [fix, perf, refactor, chore, test, ci, docs] + +tag: + pattern: "v%d.%d.%d" + +release-notes: + sections: + - name: Features + commit-types: [feat] + section-type: commits + - name: Bug Fixes + commit-types: [fix] + section-type: commits + - name: Performance Improvements + commit-types: [perf] + section-type: commits + - name: Code Refactoring + commit-types: [refactor] + section-type: commits + - name: Others + commit-types: [chore] + section-type: commits + - name: Testing + commit-types: [test] + section-type: commits + - name: CI Pipeline + commit-types: [ci] + section-type: commits + - name: Documentation + commit-types: [docs] + section-type: commits + - name: BREAKING CHANGES + section-type: breaking-changes + +commit-message: + footer: + issue: + key: issue + add-value-prefix: "#" + issue: + regex: "#?[0-9]+" diff --git a/.prettierignore b/.prettierignore index 23a4f05..135c35d 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,2 @@ -.drone.yml *.tpl.md LICENSE diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml new file mode 100644 index 0000000..7c85eb4 --- /dev/null +++ b/.woodpecker/build-container.yml @@ -0,0 +1,64 @@ +--- +when: + - event: [pull_request, tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +steps: + security-build: + image: quay.io/thegeeklab/wp-docker-buildx:1 + settings: + containerfile: Containerfile + output: type=oci,dest=oci/${CI_REPO_NAME},tar=false + repo: thegeeklab/${CI_REPO_NAME} + + security-scan: + image: ghcr.io/aquasecurity/trivy + commands: + - trivy -v + - trivy image --input oci/${CI_REPO_NAME} + environment: + TRIVY_EXIT_CODE: "1" + TRIVY_IGNORE_UNFIXED: "true" + TRIVY_NO_PROGRESS: "true" + TRIVY_SEVERITY: HIGH,CRITICAL + TRIVY_TIMEOUT: 1m + TRIVY_SKIP_FILES: /usr/local/bin/gomplate,/var/www/app/vnu.jar + + publish-dockerhub: + group: container + image: quay.io/thegeeklab/wp-docker-buildx:1 + settings: + auto_tag: true + containerfile: Containerfile + password: + from_secret: docker_password + provenance: false + repo: thegeeklab/${CI_REPO_NAME} + username: + from_secret: docker_username + when: + - event: [tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + + publish-quay: + group: container + image: quay.io/thegeeklab/wp-docker-buildx:1 + settings: + auto_tag: true + containerfile: Containerfile + password: + from_secret: quay_password + provenance: false + registry: quay.io + repo: quay.io/thegeeklab/${CI_REPO_NAME} + username: + from_secret: quay_username + when: + - event: [tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml new file mode 100644 index 0000000..34a8589 --- /dev/null +++ b/.woodpecker/build-package.yml @@ -0,0 +1,27 @@ +--- +when: + - event: [pull_request, tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +steps: + changelog: + image: quay.io/thegeeklab/git-sv + commands: + - git fetch --depth=2147483647 + - git sv current-version + - git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md + - cat CHANGELOG.md + + publish-gitea: + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_token + base_url: https://gitea.rknet.org + note: CHANGELOG.md + overwrite: true + title: ${CI_COMMIT_TAG} + when: + - event: [tag] diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml new file mode 100644 index 0000000..84a6f60 --- /dev/null +++ b/.woodpecker/docs.yml @@ -0,0 +1,61 @@ +--- +when: + - event: [pull_request, tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +steps: + markdownlint: + image: quay.io/thegeeklab/markdownlint-cli + commands: + - markdownlint 'README.md' + + spellcheck: + image: quay.io/thegeeklab/alpine-tools + commands: + - spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls + environment: + FORCE_COLOR: "true" + NPM_CONFIG_LOGLEVEL: "error" + + link-validation: + image: docker.io/lycheeverse/lychee + group: test + commands: + - lychee --no-progress --format detailed README.md + + pushrm-dockerhub: + image: docker.io/chko/docker-pushrm:1 + secrets: + - source: docker_password + target: DOCKER_PASS + - source: docker_username + target: DOCKER_USER + environment: + PUSHRM_FILE: README.md + PUSHRM_SHORT: Custom image for VNU HTML Checker + PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME} + when: + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + status: [success] + + pushrm-quay: + image: docker.io/chko/docker-pushrm:1 + secrets: + - source: quay_token + target: APIKEY__QUAY_IO + environment: + PUSHRM_FILE: README.md + PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME} + when: + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + status: [success] + +depends_on: + - build-package + - build-container diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml new file mode 100644 index 0000000..a851904 --- /dev/null +++ b/.woodpecker/notify.yml @@ -0,0 +1,26 @@ +--- +when: + - event: [tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +runs_on: [success, failure] + +steps: + matrix: + image: quay.io/thegeeklab/wp-matrix + settings: + homeserver: + from_secret: matrix_homeserver + password: + from_secret: matrix_password + roomid: + from_secret: matrix_roomid + username: + from_secret: matrix_username + when: + - status: [success, failure] + +depends_on: + - docs diff --git a/Dockerfile b/Containerfile similarity index 80% rename from Dockerfile rename to Containerfile index f70f4d5..df60065 100644 --- a/Dockerfile +++ b/Containerfile @@ -1,11 +1,11 @@ -FROM thegeeklab/alpine:latest@sha256:1a959e83114602716d5c44ebb97da156425b1730868a11800d7ceb41752cf50e +FROM quay.io/thegeeklab/alpine:latest@sha256:e86840e5ad608b2951e0d1c9e131756c1685f5b1bea408438e7f7b80c7c119f4 LABEL maintainer="Robert Kaussow " LABEL org.opencontainers.image.authors="Robert Kaussow " LABEL org.opencontainers.image.title="vNu" -LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/vnu" -LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/vnu" -LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/vnu" +LABEL org.opencontainers.image.url="https://gitea.rknet.org/container/vnu" +LABEL org.opencontainers.image.source="https://gitea.rknet.org/container/vnu" +LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/container/vnu" ARG BUILD_VERSION # renovate: datasource=github-releases depName=validator/validator diff --git a/README.md b/README.md index 2c4c511..ef3e7fe 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,19 @@ # vnu -Custom image for VNU Html Checker +Custom image for VNU HTML Checker -[![Build Status](https://img.shields.io/drone/build/docker/vnu?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/vnu) + + +[![Build Status](https://ci.rknet.org/api/badges/container/vnu/status.svg)](https://ci.rknet.org/repos/container/vnu) [![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/vnu) [![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/vnu) -[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/vnu) -[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/vnu/src/branch/main/LICENSE) +[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/container/vnu) +[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/container/vnu/src/branch/main/LICENSE) -Custom Docker image for the [Nu Html Checker](https://github.com/validator/validator). The image was build to use with any docker based CI system. + + +Custom container image for the [Nu HTML Checker](https://github.com/validator/validator). The image was build to use with any container-based CI system. ## License -This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/vnu/src/branch/main/LICENSE) file for details. +This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/container/vnu/src/branch/main/LICENSE) file for details. diff --git a/oci/vnu/blobs/sha256/338eb1c5cb44722f3a7db57a508d6a341152622c34821bc0ddf7adddd2c9d526 b/oci/vnu/blobs/sha256/338eb1c5cb44722f3a7db57a508d6a341152622c34821bc0ddf7adddd2c9d526 new file mode 100644 index 0000000..3de1629 Binary files /dev/null and b/oci/vnu/blobs/sha256/338eb1c5cb44722f3a7db57a508d6a341152622c34821bc0ddf7adddd2c9d526 differ diff --git a/oci/vnu/blobs/sha256/4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 b/oci/vnu/blobs/sha256/4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 new file mode 100644 index 0000000..8de8682 Binary files /dev/null and b/oci/vnu/blobs/sha256/4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 differ diff --git a/oci/vnu/blobs/sha256/5167d185386968b819032f18c6d72e803c6566454f905c66b13f6b8d8d234a74 b/oci/vnu/blobs/sha256/5167d185386968b819032f18c6d72e803c6566454f905c66b13f6b8d8d234a74 new file mode 100644 index 0000000..eb17ffd --- /dev/null +++ b/oci/vnu/blobs/sha256/5167d185386968b819032f18c6d72e803c6566454f905c66b13f6b8d8d234a74 @@ -0,0 +1 @@ +{"architecture":"amd64","config":{"User":"root","Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","GOMPLATE_VERSION=v3.11.5","SUPERCRONIC_VERSION=v0.2.27","URL_PARSER_VERSION=v1.0.6","WAIT_FOR_VERSION=v0.4.2","CONTAINER_LIBRARY=v0.1.3","VALIDATOR_VERSION=latest"],"Entrypoint":["/bin/vnu"],"WorkingDir":"/var/www/app","Labels":{"maintainer":"Robert Kaussow \u003cmail@thegeeklab.de\u003e","org.opencontainers.image.authors":"Robert Kaussow \u003cmail@thegeeklab.de\u003e","org.opencontainers.image.created":"2023-10-18T17:00:37Z","org.opencontainers.image.documentation":"https://gitea.rknet.org/container/vnu","org.opencontainers.image.source":"https://gitea.rknet.org/container/vnu","org.opencontainers.image.title":"vNu","org.opencontainers.image.url":"https://gitea.rknet.org/container/vnu"},"StopSignal":"SIGTERM","ArgsEscaped":true,"OnBuild":null},"created":"2023-11-07T20:52:57.177980196Z","history":[{"created":"2023-09-28T21:19:27.686110063Z","created_by":"/bin/sh -c #(nop) ADD file:756183bba9c7f4593c2b216e98e4208b9163c4c962ea0837ef88bd917609d001 in / "},{"created":"2023-09-28T21:19:27.801479409Z","created_by":"/bin/sh -c #(nop) CMD [\"/bin/sh\"]","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG DOCKER_IMAGE_CREATED","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL maintainer=Robert Kaussow \u003cmail@thegeeklab.de\u003e","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL org.opencontainers.image.authors=Robert Kaussow \u003cmail@thegeeklab.de\u003e","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL org.opencontainers.image.title=alpine","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL org.opencontainers.image.url=https://gitea.rknet.org/docker/alpine","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL org.opencontainers.image.source=https://gitea.rknet.org/docker/alpine","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL org.opencontainers.image.documentation=https://gitea.rknet.org/docker/alpine","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"LABEL org.opencontainers.image.created=2023-10-18T17:00:37Z","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG TARGETOS","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG TARGETARCH","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG TARGETVARIANT","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG GOMPLATE_VERSION","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG SUPERCRONIC_VERSION","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG URL_PARSER_VERSION","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG WAIT_FOR_VERSION","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ARG CONTAINER_LIBRARY","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ENV GOMPLATE_VERSION=v3.11.5","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ENV SUPERCRONIC_VERSION=v0.2.27","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ENV URL_PARSER_VERSION=v1.0.6","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ENV WAIT_FOR_VERSION=v0.4.2","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"ENV CONTAINER_LIBRARY=v0.1.3","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.808209549Z","created_by":"RUN |9 DOCKER_IMAGE_CREATED=2023-10-18T17:00:37Z TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= GOMPLATE_VERSION=v3.11.5 SUPERCRONIC_VERSION=v0.2.27 URL_PARSER_VERSION=v1.0.6 WAIT_FOR_VERSION=v0.4.2 CONTAINER_LIBRARY=v0.1.3 /bin/sh -c addgroup -g 101 -S app \u0026\u0026 adduser -S -D -H -u 101 -h /app -s /sbin/nologin -G app -g app app \u0026\u0026 apk --update add --virtual .build-deps curl \u0026\u0026 curl -SsfL \"https://gitea.rknet.org/docker/container-library/releases/download/${CONTAINER_LIBRARY}/container-library.tar.gz\" | tar xz -C / \u0026\u0026 curl -SsfL -o /usr/local/bin/gomplate \"https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS}-${TARGETARCH}${TARGETVARIANT}\" \u0026\u0026 curl -SsfL -o /usr/local/bin/supercronic \"https://github.com/aptible/supercronic/releases/download/${SUPERCRONIC_VERSION}/supercronic-${TARGETOS}-${TARGETARCH}\" \u0026\u0026 curl -SsfL -o /usr/local/bin/url-parser \"https://github.com/thegeeklab/url-parser/releases/download/${URL_PARSER_VERSION}/url-parser-${TARGETOS}-${TARGETARCH}${TARGETVARIANT//v/-}\" \u0026\u0026 curl -SsfL -o /usr/local/bin/wait-for \"https://github.com/thegeeklab/wait-for/releases/download/${WAIT_FOR_VERSION}/wait-for\" \u0026\u0026 chmod 755 /usr/local/bin/gomplate \u0026\u0026 chmod 755 /usr/local/bin/supercronic \u0026\u0026 chmod 755 /usr/local/bin/url-parser \u0026\u0026 chmod 755 /usr/local/bin/wait-for \u0026\u0026 apk del .build-deps \u0026\u0026 rm -rf /var/cache/apk/* \u0026\u0026 rm -rf /tmp/* # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2023-10-18T17:00:55.823859211Z","created_by":"ADD overlay/ / # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2023-10-18T17:00:55.823859211Z","created_by":"STOPSIGNAL SIGTERM","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-10-18T17:00:55.823859211Z","created_by":"CMD []","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"LABEL maintainer=Robert Kaussow \u003cmail@thegeeklab.de\u003e","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"LABEL org.opencontainers.image.authors=Robert Kaussow \u003cmail@thegeeklab.de\u003e","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"LABEL org.opencontainers.image.title=vNu","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"LABEL org.opencontainers.image.url=https://gitea.rknet.org/container/vnu","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"LABEL org.opencontainers.image.source=https://gitea.rknet.org/container/vnu","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"LABEL org.opencontainers.image.documentation=https://gitea.rknet.org/container/vnu","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"ARG BUILD_VERSION","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"ENV VALIDATOR_VERSION=latest","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:48.611205284Z","created_by":"ADD overlay/ / # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2023-11-07T20:52:57.154606075Z","created_by":"RUN |1 BUILD_VERSION= /bin/sh -c apk add --update --no-cache --virtual .build-deps libarchive-tools curl \u0026\u0026 apk --update add openjdk8 \u0026\u0026 mkdir -p /var/www/app \u0026\u0026 VALIDATOR_VERSION=\"${VALIDATOR_VERSION##v}\" \u0026\u0026 echo \"Installing v.Nu Validator version '${VALIDATOR_VERSION}' ...\" \u0026\u0026 curl -SsfL \"https://github.com/validator/validator/releases/download/${VALIDATOR_VERSION}/vnu.jar\" -o /var/www/app/vnu.jar | apk del .build-deps \u0026\u0026 rm -rf /var/cache/apk/* \u0026\u0026 rm -rf /tmp/* \u0026\u0026 rm -rf /root/.cache/ # buildkit","comment":"buildkit.dockerfile.v0"},{"created":"2023-11-07T20:52:57.177980196Z","created_by":"WORKDIR /var/www/app","comment":"buildkit.dockerfile.v0"},{"created":"2023-11-07T20:52:57.177980196Z","created_by":"USER root","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:57.177980196Z","created_by":"CMD []","comment":"buildkit.dockerfile.v0","empty_layer":true},{"created":"2023-11-07T20:52:57.177980196Z","created_by":"ENTRYPOINT [\"/bin/vnu\"]","comment":"buildkit.dockerfile.v0","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:cc2447e1835a40530975ab80bb1f872fbab0f2a0faecf2ab16fbbb89b3589438","sha256:c1ce9f9397e337f9d6f9805a5aa04b1ee6bd9b3f53e1986b0a1d3495c30a5fda","sha256:f36ec7352ebfb7dbb6504e5a874fd26a3117756d3dd43c0f43164912b21d2787","sha256:1e91c936eac0c24a79a70fff857add6cf6c9c98715e0b9d9d842ab5e1078cc2c","sha256:930cdd1d102fa6b114a86162feec1c19246880951eb784efbfad4b2b59f1df7f","sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"]}} \ No newline at end of file diff --git a/oci/vnu/blobs/sha256/91340f03845efe9ffe442fe91334af417b47ede9fb98087b1ef4ea9c50ac294b b/oci/vnu/blobs/sha256/91340f03845efe9ffe442fe91334af417b47ede9fb98087b1ef4ea9c50ac294b new file mode 100644 index 0000000..f653dc7 Binary files /dev/null and b/oci/vnu/blobs/sha256/91340f03845efe9ffe442fe91334af417b47ede9fb98087b1ef4ea9c50ac294b differ diff --git a/oci/vnu/blobs/sha256/957d7144cc2f3f472b4f769ff94b452bd87fa7e7b88fea733fae4200bb9a6893 b/oci/vnu/blobs/sha256/957d7144cc2f3f472b4f769ff94b452bd87fa7e7b88fea733fae4200bb9a6893 new file mode 100644 index 0000000..8d5b9b0 --- /dev/null +++ b/oci/vnu/blobs/sha256/957d7144cc2f3f472b4f769ff94b452bd87fa7e7b88fea733fae4200bb9a6893 @@ -0,0 +1,41 @@ +{ + "schemaVersion": 2, + "mediaType": "application/vnd.oci.image.manifest.v1+json", + "config": { + "mediaType": "application/vnd.oci.image.config.v1+json", + "digest": "sha256:5167d185386968b819032f18c6d72e803c6566454f905c66b13f6b8d8d234a74", + "size": 9713 + }, + "layers": [ + { + "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", + "digest": "sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa", + "size": 3401967 + }, + { + "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", + "digest": "sha256:91340f03845efe9ffe442fe91334af417b47ede9fb98087b1ef4ea9c50ac294b", + "size": 22996942 + }, + { + "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", + "digest": "sha256:338eb1c5cb44722f3a7db57a508d6a341152622c34821bc0ddf7adddd2c9d526", + "size": 93 + }, + { + "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", + "digest": "sha256:bdeeb176be0c0c7d45ae33e2fc111506b9bd8680fc5edaa5620981463a8ac324", + "size": 195 + }, + { + "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", + "digest": "sha256:a7952eb77463805514175095b82d0c931713716fd343655d45798317d3efb739", + "size": 110913077 + }, + { + "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", + "digest": "sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1", + "size": 32 + } + ] +} \ No newline at end of file diff --git a/oci/vnu/blobs/sha256/96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa b/oci/vnu/blobs/sha256/96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa new file mode 100644 index 0000000..b00ec27 Binary files /dev/null and b/oci/vnu/blobs/sha256/96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa differ diff --git a/oci/vnu/blobs/sha256/a7952eb77463805514175095b82d0c931713716fd343655d45798317d3efb739 b/oci/vnu/blobs/sha256/a7952eb77463805514175095b82d0c931713716fd343655d45798317d3efb739 new file mode 100644 index 0000000..4a2e5d3 Binary files /dev/null and b/oci/vnu/blobs/sha256/a7952eb77463805514175095b82d0c931713716fd343655d45798317d3efb739 differ diff --git a/oci/vnu/blobs/sha256/bdeeb176be0c0c7d45ae33e2fc111506b9bd8680fc5edaa5620981463a8ac324 b/oci/vnu/blobs/sha256/bdeeb176be0c0c7d45ae33e2fc111506b9bd8680fc5edaa5620981463a8ac324 new file mode 100644 index 0000000..2fb2357 Binary files /dev/null and b/oci/vnu/blobs/sha256/bdeeb176be0c0c7d45ae33e2fc111506b9bd8680fc5edaa5620981463a8ac324 differ diff --git a/oci/vnu/index.json b/oci/vnu/index.json new file mode 100644 index 0000000..41899b3 --- /dev/null +++ b/oci/vnu/index.json @@ -0,0 +1 @@ +{"schemaVersion":2,"manifests":[{"mediaType":"application/vnd.oci.image.manifest.v1+json","digest":"sha256:957d7144cc2f3f472b4f769ff94b452bd87fa7e7b88fea733fae4200bb9a6893","size":1430,"annotations":{"org.opencontainers.image.created":"2023-11-07T20:53:00Z","org.opencontainers.image.ref.name":"latest"},"platform":{"architecture":"amd64","os":"linux"}}]} \ No newline at end of file diff --git a/oci/vnu/oci-layout b/oci/vnu/oci-layout new file mode 100644 index 0000000..1343d37 --- /dev/null +++ b/oci/vnu/oci-layout @@ -0,0 +1 @@ +{"imageLayoutVersion":"1.0.0"} \ No newline at end of file