Skip to content

Commit

Permalink
Update Epubcheck to v4.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kitforbes committed Jul 11, 2021
1 parent 50f7a81 commit a0aa1c2
Show file tree
Hide file tree
Showing 3 changed files with 8 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.3

ARG VERSION=4.2.4
ARG VERSION=4.2.5

RUN set -eux; \
apk add --no-cache \
Expand Down
12 changes: 6 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 "4.2.4"
.\build.ps1 -Version "4.2.5"
```

Or run directly with:

```bash
docker build --build-arg "EPUBCHECK_VERSION=4.2.4" --tag "epubcheck:4.2.4" .
docker build --build-arg "EPUBCHECK_VERSION=4.2.5" --tag "epubcheck:4.2.5" .
```

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

```bash
docker run --rm --name epubcheck "epubcheck:4.2.4"
docker run --rm --name epubcheck "epubcheck:4.2.5"
```

```plaintext
EPUBCheck v4.2.4
EPUBCheck v4.2.5
EPUBCheck completed
No file specified in the arguments. Exiting.
```
Expand All @@ -37,12 +37,12 @@ No file specified in the arguments. Exiting.
Displays help information for EPUBCheck.

```bash
docker run --rm --name epubcheck "epubcheck:4.2.4" --help
docker run --rm --name epubcheck "epubcheck:4.2.5" --help
```

```plaintext
No file specified in the arguments. Exiting.
EPUBCheck v4.2.4
EPUBCheck v4.2.5
When running this tool, the first argument should be the name (with the path)
of the file to check.
Expand Down
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 = "4.2.4"
$Version = "4.2.5"
)

begin {
Expand Down

0 comments on commit a0aa1c2

Please sign in to comment.