Skip to content

Instantly share code, notes, and snippets.

@soardex
Created July 11, 2015 13:06
Show Gist options
  • Save soardex/3b088e71dde0e7361a1a to your computer and use it in GitHub Desktop.
Save soardex/3b088e71dde0e7361a1a to your computer and use it in GitHub Desktop.
Dockerfile for vert.x with JVM
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