tsgkdt / sphinx-plantuml

Dockerfile for Sphinx, plantuml and blockdiag series.
MIT License
2 stars 5 forks source link

Latest build (2018-02-14, 257cb15da913) contains a broken plantuml.jar #9

Closed uasi closed 6 years ago

uasi commented 6 years ago

The image tagged latest on Docker Hub contains a broken plantuml.jar, due to some error response from SourceForge.

% docker image ls | grep tsgkadot/sphinx-plantuml
tsgkadot/sphinx-plantuml                 latest              257cb15da913        2 weeks ago         741MB

% docker run --rm 257cb15da913 cat /usr/local/plantuml/plantuml.jar
<html><head>
<title>SourceForge</title>
<!-- <script src="/js/jquery.com/jquery-1.11.0.min.js"></script> -->
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://sourceforge.net/js/mirrors.js"></script>
<script src="/js/sf.js"></script>
<script>
var DR_loc = DR_parse_hash_url();
if (DR_loc) {
    DR_sf_main(DR_loc);
} else {
    window.location.href = 'https://sourceforge.net/home.html';
}
</script>
</head><body>
<noscript>
We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires
the use of javascript to function.  Please check back later.
</noscript>
</body></html>
tsgkdt commented 6 years ago

Thank you for your detail report.

I'll add a check sequence in Dockerfile. ( Is plantuml.jar download successfully?)

tsgkdt commented 6 years ago
$ docker image ls | grep tsgkadot/sphinx-plantuml
tsgkadot/sphinx-plantuml              latest              b280c5659e36        12 minutes ago      749MB

$ docker run --rm b280c5659e36 ls -al /usr/local/plantuml/plantuml.jar
-rw-r--r--    1 root     root       7183577 Mar  4 18:11 /usr/local/plantuml/plantuml.jar
uasi commented 6 years ago

So quick, thank you!