Last active
November 2, 2023 16:40
-
-
Save ArloL/fc2f521160b067eca9b4b40efb1afb3e to your computer and use it in GitHub Desktop.
docker eclipse temurin gradle build debugging
This file contains hidden or 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
#!/bin/sh | |
set -o errexit | |
set -o nounset | |
set -o xtrace | |
cd "$(dirname "$0")/.." || exit 1 | |
docker exec \ | |
--interactive \ | |
--tty \ | |
--workdir "${PWD}" \ | |
eclipse \ | |
/bin/sh |
This file contains hidden or 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
#!/bin/sh | |
set -o errexit | |
set -o nounset | |
set -o xtrace | |
cd "$(dirname "$0")/.." || exit 1 | |
docker run \ | |
--rm \ | |
--interactive \ | |
--tty \ | |
--entrypoint "/bin/sh" \ | |
--volume "${PWD}:${PWD}" \ | |
--workdir "${PWD}" \ | |
--name eclipse \ | |
--platform=linux/amd64 \ | |
eclipse-temurin:17 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment