Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (19 sloc) 821 Bytes
# Pull base image
# ---------------
FROM store/oracle/weblogic:
ENV DOMAIN_NAME="sample-domain1"
ENV DOMAIN_HOME="/u01/oracle/user_projects/domains/${DOMAIN_NAME}"
USER root
RUN mkdir -p $DOMAIN_HOME && \
chown -R oracle:oracle $DOMAIN_HOME && \
chmod -R a+xwr $DOMAIN_HOME && \
mkdir ${DOMAIN_HOME}/docker-build-tmp && \
mkdir -p $DOMAIN_HOME/wlsdeploy/applications/
COPY scripts/* ${DOMAIN_HOME}/docker-build-tmp/
COPY target/opdemo.war $DOMAIN_HOME/wlsdeploy/applications/
RUN -skipWLSModuleScanning -loadProperties ${DOMAIN_HOME}/docker-build-tmp/ \
RUN rm -rf ${DOMAIN_HOME}/docker-build-tmp && \
chown -R oracle:oracle ${DOMAIN_HOME} && \
chmod -R a+xwr ${DOMAIN_HOME}
You can’t perform that action at this time.