Skip to content

Instantly share code, notes, and snippets.

@teknologist
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teknologist/ff5ae3149acbe0dab1b7 to your computer and use it in GitHub Desktop.
Save teknologist/ff5ae3149acbe0dab1b7 to your computer and use it in GitHub Desktop.
exo-empty-extension-docker-runner
FROM teknologist/exo-empty-addon-docker
EXPOSE 8080
ENV CODENVY_APP_PORT_8080_HTTP 8080
USER exo
#Get app src from Codenvy Project
ADD $app_src$ ${EXOADDON_SRC_DIR}/app_src.zip
#ADDON: Unpack, build and install with addon manager
RUN cd ${EXOADDON_SRC_DIR} && unzip -q app_src.zip && \
cd ${EXOADDON_SRC_DIR} && ${M2_HOME}/bin/mvn clean install -q -Dmaven.test.skip --batch-mode && \
cp ${EXOADDON_SRC_DIR}/local.json ${EXO_APP_DIR}/current/addons/ && \
cd ${EXO_APP_DIR}/current/ && \
./addon install exo-custom-addon:1.0.0 --offline --snapshots --unstable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment