Skip to content

Commit

Permalink
adding a new image for docker-java lab
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-gupta committed Jul 9, 2015
1 parent 8b78f7d commit 8d9e878
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion wildfly-management/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM jboss/wildfly:latest


USER jboss

EXPOSE 8080 9990

USER jboss
RUN /opt/jboss/wildfly/bin/add-user.sh admin Admin#70365 --silent
RUN /opt/jboss/wildfly/bin/add-user.sh -u admin -p docker#admin --silent
CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0"]

0 comments on commit 8d9e878

Please sign in to comment.