Created
August 19, 2020 02:51
-
-
Save xsephiroth/acfe5ab69206f77337ec652ef4459600 to your computer and use it in GitHub Desktop.
docker run JetBrains GUI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt update && apt install default-jdk -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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