File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1
- FROM ptkis/ubuntu-ffmpeg:22.04-jdk17-20221130
2
-
3
- RUN curl --location https://www.yourkit.com/download/docker/YourKit-JavaProfiler-2022.9-docker.zip -o /tmp/YourKit-JavaProfiler.zip && \
4
- unzip /tmp/YourKit-JavaProfiler.zip -d /usr/local && \
5
- rm /tmp/YourKit-JavaProfiler.zip
6
-
7
- EXPOSE 10001
1
+ FROM eclipse-temurin:17.0.10_7-jdk-alpine
8
2
9
3
ARG VERSION
10
4
ARG ARTIFACT
Original file line number Diff line number Diff line change 2
2
# show all environment
3
3
export
4
4
5
- [[ -z " $YOURKIT_BROKER_URL " ]] && { echo " Please set YOURKIT_BROKER_URL" ; exit 1; }
6
- [[ -z " $YOURKIT_BROKER_TOKEN " ]] && { echo " Please set YOURKIT_BROKER_TOKEN" ; exit 1; }
7
-
8
- exec java -agentpath:/usr/local/YourKit-JavaProfiler-2022.9/bin/linux-x86-64/libyjpagent.so=broker_url=$YOURKIT_BROKER_URL ,broker_token=$YOURKIT_BROKER_TOKEN $JAVA_OPTS -jar " $ARTIFACT -$VERSION .jar" $@
5
+ exec java $JAVA_OPTS -jar " $ARTIFACT -$VERSION .jar" $@
You can’t perform that action at this time.
0 commit comments