Sign inSign up

ivly/validation-devcontainer

By ivly

•Updated 6 days ago

ivly-validation development container image for local use with VS Code or within CI pipelines

Image
Developer tools
0

1.1K

ivly/validation-devcontainer repository overview

⁠ivly/validation-devcontainer

CI/development image for ivly-validation⁠, the HTTP service that validates XRechnung and ZUGFeRD XML documents against EN16931.

⁠What's included

ComponentPurpose
Python 3.13 (Debian Trixie)Base runtime for the Flask service
Eclipse Temurin 17 JRERuns Saxon-HE for Schematron validation
Saxon-HE 12XSLT 2.0 processor for EN16931 Schematron rules
libxml2-utilsxmllint for XSD schema validation
Python 3 + pre-commitGit hooks framework
Woodpecker CLICI pipeline linting
gitleaksSecret detection

⁠Usage

Woodpecker CI:

steps:
  - name: test
    image: ivly/validation-devcontainer:latest
    commands:
      - make test

Local development: Open the project in VS Code with the Dev Containers extension.

⁠Build

⁠Prerequisites

devcontainer build runs through docker buildx. The dedicated multi-arch builder needs to exist and be active before building. Create it once per machine:

docker buildx create --name ivly-validation-multiarch --driver docker-container --bootstrap --use

Verify with docker buildx ls (the ivly-validation-multiarch row should be marked * for active and running). If the builder already exists, a single docker buildx use ivly-validation-multiarch is enough.

Without this step, make build-ci fails with ERROR: no builder "ivly-validation-multiarch" found.

⁠Build the image
make build-ci DEVCONTAINER_PUSH=true

⁠Source

Tag summary

Content type

Image

Digest

sha256:b88d7ec62…

Size

835.1 MB

Last updated

6 days ago

docker pull ivly/validation-devcontainer