Skip to content

Commit

Permalink
Cleans Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
appiepollo14 committed Nov 7, 2023
1 parent 88392d9 commit 8a47f3e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 74 deletions.
1 change: 1 addition & 0 deletions .github/workflows/microshed-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
include:
- category: JAXRS
projects: >
jaxrs-json
jaxrs-basicauth
jaxrs-mpjwt
everything-app
Expand Down
16 changes: 1 addition & 15 deletions sample-apps/everything-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# OpenLiberty
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/dropins/

# Wildfly
#FROM jboss/wildfly
#ADD build/libs/myservice.war /opt/jboss/wildfly/standalone/deployments/

# Payara
#FROM payara/micro:5.193
#CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
#ADD build/libs/myservice.war /opt/payara/deployments

# TomEE (not working yet)
#FROM tomee:8-jre-8.0.0-M2-microprofile
#COPY build/libs/myservice.war /usr/local/tomee/webapps/
ADD build/libs/myservice.war /config/dropins/
16 changes: 1 addition & 15 deletions sample-apps/jaxrs-basicauth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# OpenLiberty
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/apps/

# Wildfly
#FROM jboss/wildfly
#ADD build/libs/myservice.war /opt/jboss/wildfly/standalone/deployments/

# Payara
#FROM payara/micro:5.193
#CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
#ADD build/libs/myservice.war /opt/payara/deployments

# TomEE
#FROM tomee:8-jre-8.0.0-M2-microprofile
#COPY build/libs/myservice.war /usr/local/tomee/webapps/
ADD build/libs/myservice.war /config/apps/
16 changes: 1 addition & 15 deletions sample-apps/jaxrs-json/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# OpenLiberty
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/dropins/

# Wildfly
#FROM jboss/wildfly
#ADD build/libs/myservice.war /opt/jboss/wildfly/standalone/deployments/

# Payara
#FROM payara/micro:5.193
#CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
#ADD build/libs/myservice.war /opt/payara/deployments

# TomEE
#FROM tomee:8-jre-8.0.0-M2-microprofile
#COPY build/libs/myservice.war /usr/local/tomee/webapps/
ADD build/libs/myservice.war /config/dropins/
16 changes: 1 addition & 15 deletions sample-apps/jaxrs-mpjwt/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# OpenLiberty
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/dropins/

# Wildfly
#FROM jboss/wildfly
#ADD build/libs/myservice.war /opt/jboss/wildfly/standalone/deployments/

# Payara
#FROM payara/micro:5.193
#CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
#ADD build/libs/myservice.war /opt/payara/deployments

# TomEE
#FROM tomee:8-jre-8.0.0-M2-microprofile
#COPY build/libs/myservice.war /usr/local/tomee/webapps/
ADD build/libs/myservice.war /config/dropins/
1 change: 0 additions & 1 deletion sample-apps/kafka-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# OpenLiberty
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD build/libs/myservice.war /config/apps/
Expand Down
13 changes: 0 additions & 13 deletions sample-apps/maven-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
FROM openliberty/open-liberty:full-java8-openj9-ubi
COPY src/main/liberty/config /config/
ADD target/myservice.war /config/dropins/

# Wildfly
#FROM jboss/wildfly
#ADD target/myservice.war /opt/jboss/wildfly/standalone/deployments/

# Payara
#FROM payara/micro:5.193
#CMD ["--deploymentDir", "/opt/payara/deployments", "--noCluster"]
#ADD target/myservice.war /opt/payara/deployments

# TomEE
#FROM tomee:8-jre-8.0.0-M2-microprofile
#COPY target/myservice.war /usr/local/tomee/webapps/

0 comments on commit 8a47f3e

Please sign in to comment.