Skip to content

Commit

Permalink
Merge pull request #15 from deeagle/dev/task_add-lib
Browse files Browse the repository at this point in the history
Dev/task add lib
  • Loading branch information
deeagle authored Jul 15, 2024
2 parents 3cc2289 + aea44e3 commit 54848a9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ LABEL org.opencontainers.image.authors="Martin Kock <[email protected]>" \

WORKDIR /app

RUN apk --no-cache add libxml2-utils rsync
RUN apk --no-cache add libxml2-utils rsync libxslt
31 changes: 24 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,41 @@
# xmllint-container
# XML Tools Container for CI-CD

![Build status](https://github.com/deeagle/xmllint-container/workflows/CI/badge.svg)
![Build status](https://github.com/deeagle/xmllint-container/workflows/Release%20version/badge.svg)
[![Alpine](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)
[![Docker](https://badgen.net/badge/icon/docker?icon=docker&label)](https://hub.docker.com/r/docdee/xmllint)

Container includes semantic-release to gitea for CI.
Installed tools are:
This container provides a pre-installed environment with various XML tools for use in CI-CD pipelines.

- `libxml2-utils`
## What's included

This container comes with the following XML tools pre-installed:

- `xmllint`
- `xsltproc`
- `rsync`

## Usage

You can check your xml against:
You can check your different formats via the following example commands:

- DTD
`xmllint --dtdvalid schema.dtd --noout file.txt`

```bash
xmllint --dtdvalid schema.dtd --noout file.txt
```

- XSD
`xmllint --schema schema.xsd --noout file.xml`

```bash
xmllint --schema schema.xsd --noout file.xml
```

- XSLT

```bash
xsltproc file.xsl
```

## Weblinks

Expand Down

0 comments on commit 54848a9

Please sign in to comment.