Skip to content

Instantly share code, notes, and snippets.

@schulzh
Last active March 10, 2020 10:55
Show Gist options
  • Save schulzh/42bf5a281c8d6090c37b15fdc6084889 to your computer and use it in GitHub Desktop.
Save schulzh/42bf5a281c8d6090c37b15fdc6084889 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
PORT=9000
mkdir /app/profiler
cd /app/profiler
curl -sS -o profiler.tar.gz https://download-gcdn.ej-technologies.com/jprofiler/jprofiler_linux_11_1_1.tar.gz
tar xvfz profiler.tar.gz
INSTALL4J_JAVA_HOME=../.java-buildpack/open_jdk_jre jprofiler11.1.1/bin/jpenable --noinput --gui --port=$PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment