Public | Automated Build

Last pushed: 5 months ago
Short Description
Vert.x is a tool-kit for building reactive applications on the JVM.
Full Description

Supported tags and respective Dockerfile links

2.0.0-final, 2.0.0-final-jdk7, 2.0.0-final-jdk7-alpine, 2.0.0-final-jdk8, 2.0.0-final-jdk8-alpine
2.0.1-final, 2.0.1-final-jdk7, 2.0.1-final-jdk7-alpine, 2.0.1-final-jdk8, 2.0.1-final-jdk8-alpine
2.0.2-final, 2.0.2-final-jdk7, 2.0.2-final-jdk7-alpine, 2.0.2-final-jdk8, 2.0.2-final-jdk8-alpine
2.1, 2.1-jdk7, 2.1-jdk7-alpine, 2.1-jdk8, 2.1-jdk8-alpine
2.1.1, 2.1.1-jdk7, 2.1.1-jdk7-alpine, 2.1.1-jdk8, 2.1.1-jdk8-alpine
2.1.2, 2.1.2-jdk7, 2.1.2-jdk7-alpine, 2.1.2-jdk8, 2.1.2-jdk8-alpine
2.1.3, 2.1.3-jdk7, 2.1.3-jdk7-alpine, 2.1.3-jdk8, 2.1.3-jdk8-alpine
2.1.4, 2.1.4-jdk7, 2.1.4-jdk7-alpine, 2.1.4-jdk8, 2.1.4-jdk8-alpine
2.1.5, 2.1.5-jdk7, 2.1.5-jdk7-alpine, 2.1.5-jdk8, 2.1.5-jdk8-alpine
2.1.6, 2.1.6-jdk7, 2.1.6-jdk7-alpine, 2.1.6-jdk8, 2.1.6-jdk8-alpine
3.0.0, 3.0.0-jdk8, 3.0.0-jdk8-alpine
3.1.0, 3.1.0-jdk8, 3.1.0-jdk8-alpine
3.2.0, 3.2.0-jdk8, 3.2.0-jdk8-alpine
3.2.1, 3.2.1-jdk8, 3.2.1-jdk8-alpine
3.3.0, 3.3.0-jdk8, 3.3.0-jdk8-alpine
3.3.1, 3.3.1-jdk8, 3.3.1-jdk8-alpine
3.3.2, 3.3.2-jdk8, 3.3.2-jdk8-alpine
3.3.3, 3.3.3-jdk8, 3.3.3-jdk8-alpine
3.4.0, 3.4.0-jdk8, 3.4.0-jdk8-alpine
3.4.1, 3.4.1-jdk8, 3.4.1-jdk8-alpine
3.4.2, 3.4.2-jdk8, 3.4.2-jdk8-alpine

Example

Running a verticle inside a docker container. The given example uses a groovy file but you can use any of the supported languages by Vert.x

FROM frangarcia/vertx:3.4.2
MAINTAINER Your Name <info@email.com>
ADD sample1.groovy /

WORKDIR /

CMD ["vertx", "run", "sample1.groovy"]

with the sample1.groovy file like this

vertx.createHttpServer().requestHandler({ req ->
  req.response()
    .putHeader("content-type", "text/plain")
    .end("Hello from Vert.x!")
}).listen(8080)

First of all, you need to build your docker project

docker build -t exampledocker .

and finally, run the docker project with

docker run -d -it -p 8080:8080 exampledocker

http://localhost:8080 will show a Hello from vert.x! message.

Docker Pull Command
Owner
frangarcia
Source Repository