Skip to content

Instantly share code, notes, and snippets.

@xsephiroth
Created August 19, 2020 02:51
Show Gist options
  • Save xsephiroth/acfe5ab69206f77337ec652ef4459600 to your computer and use it in GitHub Desktop.
Save xsephiroth/acfe5ab69206f77337ec652ef4459600 to your computer and use it in GitHub Desktop.
docker run JetBrains GUI
FROM ubuntu:18.04
RUN apt update && apt install default-jdk -y
docker run --it \
-v $HOME/.Xauthority:/root/.Xauthority \
-e DISPLAY
--network host \
-v /opt:/opt \
${IMAGE} \
/opt/${APP}/bin/${APP_SH}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment