/docker

Primary LanguageShellApache License 2.0Apache-2.0

docker

Build java-swing

xhost +
docker build -f java-swing/Dockerfile . -t java-swing
docker run -v /tmp/.X11-unix:/tmp/.X11-unix java-swing

Run imagemagick

docker run -it -v $(pwd)/images:/images -v $(pwd)/converted:/converted imagemagick mogrify -path /converted -resize 60x60% -quality 60 -format png /images/*.jpg