scionaltera / emergentmud

EmergentMUD is a free, text based "Multi-User Domain" that you play in your browser.
https://emergentmud.com
GNU Affero General Public License v3.0
5 stars 1 forks source link

Address differences in Docker builds #30

Closed scionaltera closed 6 years ago

scionaltera commented 6 years ago

The Docker Hub build image uses frolvlad/alpine-oraclejdk8:slim while the dev image uses develar/java:8u45. The first image uses a much more recent JDK than the latter one, and for the first time today that caused different behavior in the images. At a minimum we should ensure that both Docker images are using the same version of Java. It looks like frolvlad has both a JDK and a JRE image available. Perhaps a multi-stage build would be appropriate.

It would be nice as well to make sure we use a JDK to build, but a JRE in the final image.