FROM openjdk:jre-slim
RUN mkdir /wildfly
WORKDIR /wildfly
COPY microprofile-2018.5.0-hollowswarm.jar /wildfly/microprofile.jarmicroprofile-2018.5.0-hollowswarm.jar is directly downloaded from wf-swarm website)FROMopenjdk:jre-slim
USER root
RUN mkdir /wildfly
WORKDIR /wildfly
COPY microprofile-2018.5.0-hollowswarm.jar /wildfly/microprofile.jar
ENTRYPOINT ["java", \
"-jar", "/wildfly/microprofile.jar"]
Exactly like Thorntail produces a couple of hollow JARs, you can build your own. For example, here's how the Microprofile + JPA hollow JAR is built: https://github.com/thorntail/thorntail/blob/master/standalone-servers/microprofile-jpa/pom.xml
LT
--
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To post to this group, send email to thor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/a38c8dad-53b8-4a45-b935-50555374a434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.