Skip to content

Instantly share code, notes, and snippets.

@ArloL
Last active November 2, 2023 16:40
Show Gist options
  • Save ArloL/fc2f521160b067eca9b4b40efb1afb3e to your computer and use it in GitHub Desktop.
Save ArloL/fc2f521160b067eca9b4b40efb1afb3e to your computer and use it in GitHub Desktop.
docker eclipse temurin gradle build debugging
#!/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
#!/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