[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[glassfish-dev] Glassfish Jakarta EE9 - No Docker images!?
|
Hello,
I wonder why there is no Docker image for Glassfish available?
Docker makes it more convenient for users to get started. The
official Docker repo is totally outdated
(https://hub.docker.com/_/glassfish).
Ok, there are Jakarta EE8 images from Payara and Wildfly
available, but still only for Jakarta 8 and nothing working with
Jakarta EE9 (including JAX-RS and EJBs)
Within the Eclipse Jakarta EE project ther is one version after the
other being discussed - we are already at Jakarta EE 10 - but there
is still no official server for Jakarta EE9 available. If Payara and
Wildfly are for what reason ever not allowed to publish Jakarta EE9
Severs on Docker Hub than at least a Glassfish Server would be
great.
If you want to start a new Project with Jakarta EE9 you have no
official Docker Image at all. Why?? It looks like the community
wants to do everything to ensure that Jakarta 9 does not establish
itself as a new platform.
What is your opinion about this situation?
p.s:
The only way I solved this for my current dev project, is
building my own Jakarta EE9 Docker image by downloading the
wildfly-preview-26.0.0.Final :
###################################################################
# We are building our own jakarta 9 sever
#
# See: https://github.com/jboss-dockerfiles/wildfly
FROM jboss/base-jdk:11
# Set the WILDFLY_VERSION env variable
ENV WILDFLY_VERSION 26.0.0.Final
ENV JBOSS_HOME /opt/jboss/wildfly
USER root
# Add the WildFly distribution to /opt, and make wildfly the owner
of the extracted tar content
# Make sure the distribution is available from a well-known place
RUN cd $HOME \
&& curl -L -O
https://github.com/wildfly/wildfly/releases/download/$WILDFLY_VERSION/wildfly-preview-$WILDFLY_VERSION.tar.gz
\
&& tar xf wildfly-preview-$WILDFLY_VERSION.tar.gz \
&& mv $HOME/wildfly-preview-$WILDFLY_VERSION
$JBOSS_HOME \
&& rm wildfly-preview-$WILDFLY_VERSION.tar.gz \
&& chown -R jboss:0 ${JBOSS_HOME} \
&& chmod -R g+rw ${JBOSS_HOME}
# Ensure signals are forwarded to the JVM process correctly for
graceful shutdown
ENV LAUNCH_JBOSS_IN_BACKGROUND true
USER jboss
# Expose the ports in which we're interested
EXPOSE 8080
EXPOSE 9990
COPY ./target/*.war /opt/jboss/wildfly/standalone/deployments/
# Run with microprofiles
CMD ["/opt/jboss/wi
###################################################################
Regards
Ralph
--
Imixs Software Solutions GmbH
Web: www.imixs.com Phone:
+49 (0)89-452136 16
Timezone: Europe/Berlin - CET/CEST
Office: Agnes-Pockels-Bogen 1, 80992 München
Registergericht: Amtsgericht Muenchen, HRB 136045
Geschaeftsführer: Gaby Heinle u. Ralph Soika
Imixs is an open source company, read more: www.imixs.org