Skip to content

Commit

Permalink
Update Epubcheck to v5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kitforbes committed Oct 24, 2023
1 parent 1ac7a68 commit 2a34dd2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.18.4

ARG VERSION=5.0.1
ARG VERSION=5.1.0

RUN set -eux; \
apk add --no-cache \
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Dockerfile for [EPUBCheck](https://github.com/w3c/epubcheck), available on [Dock
Run the PowerShell script:

```powershell
.\build.ps1 -Version "5.0.1"
.\build.ps1 -Version "5.1.0"
```

Or run directly with:

```bash
docker build --build-arg "EPUBCHECK_VERSION=5.0.1" --tag "epubcheck:5.0.1" .
docker build --build-arg "EPUBCHECK_VERSION=5.1.0" --tag "epubcheck:5.1.0" .
```

## Usage
Expand All @@ -23,11 +23,13 @@ docker build --build-arg "EPUBCHECK_VERSION=5.0.1" --tag "epubcheck:5.0.1" .
Displays the version of EPUBCheck.

```bash
docker run --rm --name epubcheck "epubcheck:5.0.1"
docker run --rm --name epubcheck "epubcheck:5.1.0"
```

```plaintext
EPUBCheck v5.0.1
EPUBCheck v5.1.0
Messages: 0 fatals / 0 errors / 0 warnings / 0 infos
EPUBCheck completed
```

Expand All @@ -36,11 +38,11 @@ EPUBCheck completed
Displays help information for EPUBCheck.

```bash
docker run --rm --name epubcheck "epubcheck:5.0.1" --help
docker run --rm --name epubcheck "epubcheck:5.1.0" --help
```

```plaintext
EPUBCheck v5.0.1
EPUBCheck v5.1.0
When running this tool, the first argument should be the name (with the path)
of the file to check.
Expand Down Expand Up @@ -100,5 +102,7 @@ This tool also accepts the following options:
-h, -? or --help = displays this help message
Messages: 0 fatals / 0 errors / 0 warnings / 0 infos
EPUBCheck completed
```
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
param (
[Parameter(Mandatory = $false)]
[String]
$Version = "5.0.1"
$Version = "5.1.0"
)

begin {
Expand Down

0 comments on commit 2a34dd2

Please sign in to comment.