-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for automated DockerHub builds (#1181)
This commit adds support for automated DockerHub builds in the Dockerfile. This is composed of three changes 1) Dockerfile and related files are moved into a dediated directory 2) a DockerHub-dedicated hooks/build file is added and 3) Testing is disabled in the Dockerfile to speed up the build.
- Loading branch information
1 parent
2965787
commit d320f96
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# /=====================================================================\ # | ||
# | LaTeXML DockerHub Hooks | # | ||
# | This file is used by DockerHub during the automated build | # | ||
# |=====================================================================| # | ||
# | Thanks to Tom Wiesing <tom.wiesing@gmail.com> | # | ||
# | Part of LaTeXML: | # | ||
# | Public domain software, produced as part of work done by the | # | ||
# | United States Government & not subject to copyright in the US. | # | ||
# |---------------------------------------------------------------------| # | ||
# | Bruce Miller <bruce.miller@nist.gov> #_# | # | ||
# | http://dlmf.nist.gov/LaTeXML/ (o o) | # | ||
# \=========================================================ooo==U==ooo=/ # | ||
|
||
# cd into the LaTeXML root directory | ||
cd $(git rev-parse --show-toplevel) | ||
|
||
# run the docker build without TeXLive to speed up builds | ||
docker build --build-arg WITH_TEXLIVE=no --build-arg WITH_TESTS=no -f $DOCKERFILE_PATH -t $IMAGE_NAME . |