Created
February 8, 2018 09:19
-
-
Save paraita/52854f8b72fff7ea2c96ac2b031bbf13 to your computer and use it in GitHub Desktop.
Containerizing a ProActive release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't forget to provide the (relative) path to the release folder to encapsulate | |
FROM openjdk:9 | |
MAINTAINER WOHLER Paraita <paraita.wohler@activeeon.com> | |
ARG schedulerDirPath=schedulerRelease | |
ENV PA_HOME /data/scheduling | |
RUN mkdir -p /data/tmp && mkdir -p $PA_HOME | |
COPY $schedulerDirPath $PA_HOME | |
WORKDIR $PA_HOME | |
EXPOSE 8080 | |
CMD [ "sh", "-c", "/data/scheduling/bin/proactive-server -ln 1"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment