Skip to content

Commit

Permalink
docker files for building image
Browse files Browse the repository at this point in the history
  • Loading branch information
majguo committed Sep 17, 2020
1 parent 83fd0ad commit ecd7a31
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 3-integration/aad-ldap/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# open liberty base image
FROM openliberty/open-liberty:kernel-java8-openj9-ubi

# Add config and app
COPY --chown=1001:0 src/main/liberty/config/server.xml /config/server.xml
COPY --chown=1001:0 target/javaee-cafe.war /config/apps/

# This script will add the requested XML snippets, grow image to be fit-for-purpose and apply interim fixes
RUN configure.sh
9 changes: 9 additions & 0 deletions 3-integration/aad-ldap/Dockerfile-wlp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# WebSphere Liberty base image
FROM ibmcom/websphere-liberty:kernel-java8-openj9-ubi

# Add config and app
COPY --chown=1001:0 src/main/liberty/config/server.xml /config/server.xml
COPY --chown=1001:0 target/javaee-cafe.war /config/apps/

# This script will add the requested XML snippets, grow image to be fit-for-purpose and apply interim fixes
RUN configure.sh

0 comments on commit ecd7a31

Please sign in to comment.