Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 7ccbac6

Browse files
authored
Merge pull request #414 from grafana/jpprof04
Upgrades to jpprof 0.1.4
2 parents da9ab18 + af6fe91 commit 7ccbac6

File tree

6 files changed

+832
-6
lines changed

6 files changed

+832
-6
lines changed

tools/docker-compose/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ services:
5050
build:
5151
context: java/simple
5252
dockerfile: Dockerfile
53-
cap_add:
54-
- SYS_ADMIN
53+
security_opt:
54+
- seccomp:seccomp.json
5555
ports:
5656
- 8083:8080
5757
networks:
@@ -60,8 +60,8 @@ services:
6060
build:
6161
context: java/springboot
6262
dockerfile: Dockerfile
63-
cap_add:
64-
- SYS_ADMIN
63+
security_opt:
64+
- seccomp:seccomp.json
6565
ports:
6666
- 8084:8080
6767
networks:

tools/docker-compose/java/simple/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM openjdk:11-slim-bullseye
22

3+
RUN apt-get update && apt install -y openjdk-11-dbg
4+
35
WORKDIR /app
46

57
COPY . .

tools/docker-compose/java/simple/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ group = "com.example"
1919
version = "0.1.0"
2020

2121
dependencies {
22-
implementation 'com.grafana:jpprof:0.1.0'
22+
implementation 'com.grafana:jpprof:0.1.4'
2323
}

tools/docker-compose/java/springboot/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM openjdk:11-slim-bullseye
22

3+
RUN apt-get update && apt install -y openjdk-11-dbg
4+
35
WORKDIR /app
46

57
COPY . .

tools/docker-compose/java/springboot/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repositories {
1313
}
1414

1515
dependencies {
16-
implementation 'com.grafana:jpprof:0.1.0'
16+
implementation 'com.grafana:jpprof:0.1.4'
1717
implementation 'org.springframework.boot:spring-boot-starter-web'
1818
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1919
}

0 commit comments

Comments
 (0)