Inspired by rockmagicnet's work for Sencha Cmd. See DockerHub or Github.
Naming convention : <JDK_VERSION>-<MAVEN_VERSION>-<SENCHA_CMD_VERSION>
.
One can pull this image using:
-
OpenJDK 7, Maven 3.6.1, Sencha Cmd 3.0.2:
docker pull cvagner/docker-jdk-maven-sencha-cmd:7-3.6.1-3.0.2
Execute one of the following commands:
# Sencha CMD
docker run --rm -v `pwd`:/app -w /app \
cvagner/docker-jdk-maven-sencha-cmd:7-3.6.1-3.0.2 \
sencha
# Java
docker run --rm -v `pwd`:/app -w /app \
cvagner/docker-jdk-maven-sencha-cmd:7-3.6.1-3.0.2 \
java -version
# Maven
docker run --rm -v `pwd`:/app -w /app \
cvagner/docker-jdk-maven-sencha-cmd:7-3.6.1-3.0.2 \
mvn -v
Note that the absolute path is provided with pwd
command. For Sencha Cmd instructions please refer the official documentation at https://docs.sencha.com/cmd/
Example:
VERSION_TAG=7-3.6.1-3.0.2
docker login
cd ${VERSION_TAG}
docker build --tag=cvagner/docker-jdk-maven-sencha-cmd:${VERSION_TAG} .
docker push cvagner/docker-jdk-maven-sencha-cmd:${VERSION_TAG}