Sign inSign up

cliwrap/openjdk8

By cliwrap

Updated over 5 years ago

Run openjdk8 with your non-root user and in your current working directory.

Image
0

461

cliwrap/openjdk8 repository overview

Build
Status

The Dockerfile in this repository builds an alpine:3.7 container which lets you run commands inside the container using a UID and GID which are passed in environment variables from outside the container, so that any files created in a volume mount can be created as the user and group who initiated docker run. It also has openjdk8 installed.

To download: docker pull cliwrap/openjdk8

Examples

Run ./gradlew

docker run --rm -e "HOSTUID=`id -u`" -v "`pwd`:/work" -v "$HOME:/home/hostuser" cliwrap/openjdk8 ./gradlew build

Tag summary

Content type

Image

Digest

Size

82.3 MB

Last updated

over 5 years ago

docker pull cliwrap/openjdk8