1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-06-02 08:30:48 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Florian
5d7c4e1a03 update docker base images and reduce size
There were same base image and naming changes for the jetty and tomcat images plantuml-server uses => plantuml-server uses a pretty old and vulnerable images.

- update base images for jetty and tomcat
- add a alpine version for jetty (not tomcat has no official alpine version)
- add autoremove and clean commands after graphviz installation. This reduces the images by about ~280 MB
2023-05-05 17:33:39 -04:00
Marco Beelen
385fa1274a feat: Keeps curl to support healthchecks
Closes #220
Closes #273
2023-04-12 12:14:35 +02:00
Florian Greinacher
972d136665 fix: add more missing libs 2023-04-11 19:26:09 +02:00
Florian Greinacher
329aae7fc6 fix: add missing build dependency for graphviz 2023-04-11 13:46:55 +02:00
Florian Greinacher
8a9825395a fix: use up-to-date graphviz version in tomcat image 2023-03-29 19:36:33 +02:00
Florian Greinacher
afd8bbcceb feat: support deep base URLs 2023-01-26 10:29:03 +01:00
Hans
345e996673 fix typo 2022-11-07 13:00:28 +01:00
Hans
dcd4436fcf add openshift permission 2022-11-07 13:00:28 +01:00
Florian
9cb9cec6ca update jetty and tomcat to latest version 2021-10-17 18:46:03 +02:00
Florian
221af78afc improve docker handling 2021-10-11 18:39:11 +02:00
Peter Dave Hello
04af2a25d2 Remove apt-get clean in Dockerfile.{jetty,tomcat}
Also manually cleaned up `/var/lib/apt/lists` in original commits but
got conflict with #97, then removed.

Ref:
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/

> In addition, when you clean up the apt cache by removing
> /var/lib/apt/lists it reduces the image size, since the apt cache is not
> stored in a layer.

> Official Debian and Ubuntu images automatically run apt-get clean,
> so explicit invocation is not required.
2021-04-23 22:25:45 +02:00
terje
8805b90913 Build and use Graphviz 2.44.1 straight from source 2020-11-12 08:47:43 +01:00
Abtin Gramian
d53fb43ac4 Bump docker parent image versions to target Java 11 2020-07-21 22:42:05 +02:00
Erik van het Hof
d6dcdab421 Update tomcat tag from 9.0-jre8-slim to 9.0-jdk8-openjdk-slim 2020-07-03 16:05:03 +02:00
translucens
73739b7e85
revert builder's base image to based on OpenJDK8 (non-headless)
headless OpenJDK does not refer `http_proxy` environment variable, so build image inside proxy will fail.
resolves #98
2019-04-28 00:33:47 +09:00
translucens
f878c0ec22
replace fonts to Google noto fonts 2019-04-14 02:46:09 +09:00
morotti
1b07c6d9c2 use different container names for jetty and tomcat so they can be built in parallel without conflicting 2019-03-31 23:51:41 +01:00
Olaf Meeuwissen
73c23724db Use ROOT as the BASE_URL
This fixes a misread of the README.md when preparing 055faca.
2018-12-03 18:54:18 +09:00
Olaf Meeuwissen
38772dedd3 Revert "Revert "Make the server's BASE_URL configurable""
This reverts commit 5501258087.
2018-12-03 18:30:47 +09:00
Arnaud Roques
5501258087 Revert "Make the server's BASE_URL configurable"
This reverts commit 055facac9e.
2018-11-30 22:30:03 +01:00
Olaf Meeuwissen
055facac9e Make the server's BASE_URL configurable
The "special" value of `ROOT` will serve requests on `/`.  Any other
value should serve on `/$BASE_URL` (as long as there are no slashes
in `BASE_URL` at least).

The default has been set to `plantuml` to better match documentation
in the README.md file.

Re #80, may help with #79.
2018-11-15 22:09:14 +09:00
Olaf Meeuwissen
3ce59edba7 Fix rendering of non-sequence diagrams
Although sequence diagrams render fine without, any(?) other diagram
type requires the  `GRAPHVIZ_DOT` environment variable to be set for
the server to produce usable output.
2018-11-15 21:59:52 +09:00
Olaf Meeuwissen
31a42da6bb Support building behind a proxy
In order to use this functionality, you need to pass `--build-arg`
options for the `http_proxy`, `https_proxy` and `no_proxy` values
that are suitable for *your* build environment.

If not behind a proxy, simply don't pass any `*_proxy` build args.
2018-11-15 21:53:00 +09:00
Olaf Meeuwissen
d73dea3d58 Do not log download progress during build
This cuts down on the verbosity for at least some CI build logs.
2018-11-15 21:41:34 +09:00
Olaf Meeuwissen
f0b05ab711 Remove unneeded packages and environment variables from the builder 2018-11-15 21:34:32 +09:00
David Ducatel
7fb25caeca Fix docker build problem on jetty 2017-12-13 10:31:39 +01:00
David Ducatel
ae00bcc116 update build process
Using multi stage build in dockerfile
2017-10-20 20:20:26 +02:00
Adam Wałach
e95d301524 Fix tomcat dockerfile
ROOT.war is not deployed if old ROOT directory is present
2017-08-31 14:13:35 +02:00
David Ducatel
5dd56095ba Add new docker images
Add tomcat container, jetty tag and self-builded docker file
2017-04-28 10:53:11 +02:00
Thiyag Krishna
9e7679508e removed previous file 2017-04-23 22:05:01 -04:00
Arnaud Roques
e12c8e6661 Restore Added support for running docker behind firewall 2017-04-21 22:54:59 +02:00