Sign inSign up

ls1tum/artemis-maven-docker

By ls1tum

•Updated over 4 years ago

Maven Image for Java exercise in Artemis

Image
Languages & frameworks
0

152

ls1tum/artemis-maven-docker repository overview

⁠artemis-maven-template

This also includes git and replaces https://github.com/ls1intum/artemis-maven-git-docker⁠.

Docker Container for Docker Hub

docker build --no-cache -t artemis-maven-template .

docker run -itd -p 80:80 --name artemis-maven-template artemis-maven-template /bin/bash

docker exec -it artemis-maven-template /bin/bash

java -version

mvn -version

git --version

⁠Publish to Dockerhub
docker buildx build --no-cache -t ls1tum/artemis-maven-template:<tagname> . --push --platform=linux/arm64,linux/amd64	
⁠Example
docker buildx build --no-cache -t ls1tum/artemis-maven-template:java17-9 . --push --platform=linux/arm64,linux/amd64	
⁠Github Action

Note that each commit will automatically lead to a new image on DockerHub using the latest tag. Creating a release (with a unique tag) will automatically create a new image on DockerHub using the tag name.

Tag summary

Content type

Image

Digest

Size

505.8 MB

Last updated

almost 5 years ago

docker pull ls1tum/artemis-maven-docker:java16-5