Skip to content

Instantly share code, notes, and snippets.

@gastaldi
Last active March 15, 2017 18:14
Show Gist options
  • Save gastaldi/0226221cd679b0e920cc12f86b968d91 to your computer and use it in GitHub Desktop.
Save gastaldi/0226221cd679b0e920cc12f86b968d91 to your computer and use it in GitHub Desktop.
Catapult Dockerfile
FROM jboss/wildfly:10.1.0.Final
MAINTAINER George Gastaldi<[email protected]>
# Set the CATAPULT_VERSION env variable
ENV CATAPULT_VERSION 1.0.0-SNAPSHOT
ADD https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=snapshots&g=org.kontinuity.catapult&a=catapult-web&v=$CATAPULT_VERSION&e=war /opt/jboss/wildfly/standalone/deployments/catapult.war
USER root
RUN chown -R jboss:0 /opt/jboss/wildfly/standalone/deployments/ && chmod -R g+rw /opt/jboss/wildfly/standalone/deployments/
USER jboss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment