You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ Historical archives of discussions prior to October 2017 are stored at the old [
35
35
36
36
## Building EPUBCheck
37
37
38
+
### Build from sources
39
+
38
40
To build epubcheck from the sources you need Java Development Kit (JDK) 1.7 or above and [Apache Maven](http://maven.apache.org/) 3.0 or above installed.
39
41
40
42
Build and run tests:
@@ -44,6 +46,36 @@ $ mvn clean install
44
46
```
45
47
Will copy `*.jar` files and packages to `target/` folder...
46
48
49
+
### Build using docker
50
+
51
+
To build the epubcheck using docker, use the build command below:
52
+
53
+
```bash
54
+
$ docker build . -t epubcheck
55
+
```
56
+
57
+
To run the epubcheck image as container, use example command below:
58
+
59
+
```bash
60
+
# one directory in the host need to be mapped (using docker volume) to /data path
61
+
# within container. the particular path will be used as a bridge to enable access
62
+
# over the epub file or the generated output file between host and container.
63
+
$ docker run -it --rm -v <directory>:/data epubcheck --help
Most of the EPUBCheck functionality comes from the schema validation tool [Jing](http://www.thaiopensource.com/relaxng/jing.html) and schemas that were developed by [IDPF](http://www.idpf.org/) and [DAISY](http://www.daisy.org/). Initial EPUBCheck development was largely done at [Adobe Systems](http://www.adobe.com/).
0 commit comments