Created
July 11, 2015 13:06
-
-
Save soardex/3b088e71dde0e7361a1a to your computer and use it in GitHub Desktop.
Dockerfile for vert.x with JVM
This file contains hidden or 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
FROM centos:latest | |
MAINTAINER Fitz Abucay <[email protected]> | |
RUN yum update -y | |
RUN yum install -y deltarpm | |
RUN yum install -y java-1.7.0-openjdk-headless | |
ENV VERTX_HOME /opt/vertx | |
RUN mkdir -p $VERTX_HOME && \ | |
curl -L https://bintray.com/artifact/download/vertx/downloads/vert.x-2.1.6.tar.gz | tar -xzC $VERTX_HOME | |
ENV PATH $VERTX_HOME/vert.x-2.1.6/bin:$PATH | |
RUN mkdir -p /srv/src | |
WORKDIR /srv/src | |
ENTRYPOINT ["sh", "-c"] | |
CMD ["vertx"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment