File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed
sandbox/dockerfiles/java_21 Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ http_port 3128
22cache_dir ufs /var/spool/squid 100 16 256
33cache_mem 256 MB
44
5- acl allowed_sites dstdomain .github.com .pypi.org .npmjs.org .golang.org .maven.org .rubygems.org .crates.io .packagist.org .docker.io .docker.com .dockerhub.com .gcr.io .ghcr.io
5+ acl allowed_sites dstdomain .github.com .pypi.org .npmjs.org .golang.org \
6+ .maven.org .maven.apache.org .jcenter.bintray.com gradle.org .rubygems.org .crates.io .packagist.org .docker.io .docker.com .dockerhub.com .gcr.io .ghcr.io
67http_access allow allowed_sites
78http_access deny all
Original file line number Diff line number Diff line change 1+ FROM gradle:jdk23
2+
3+ RUN mkdir -p /app
4+ WORKDIR /app
Original file line number Diff line number Diff line change 1+ {
2+ "Template" : " java_21" ,
3+ "Labels" : [" java" ],
4+ "Enabled" : true ,
5+ "Connections" : [],
6+ "ContainerOptions" : {
7+ "CompileTTL" : 30 ,
8+ "RunTTL" : 5 ,
9+ "MemoryLimit" : 524288000
10+ },
11+ "Workdir" : " /app" ,
12+ "IsSupportPackage" : true ,
13+
14+ "Actions" : {
15+ "default" : {
16+ "Id" : " default" ,
17+ "IsDefault" : true ,
18+ "Name" : " Java 21" ,
19+ "CompileCmd" : " javac -d out *.java" ,
20+ "RunCmd" : " java -cp out Main {ARGS} < {STDIN}" ,
21+ "ScriptOptions" : {
22+ "SourceFile" : " Main.java"
23+ }
24+ },
25+
26+ "java_21_gradle" : {
27+ "Id" : " java_21_gradle" ,
28+ "IsDefault" : true ,
29+ "Name" : " Java 21 (Gradle)" ,
30+ "CompileCmd" : " gradle build --quiet" ,
31+ "RunCmd" : " gradle run --quiet" ,
32+ "ScriptOptions" : {
33+ "SourceFile" : " Main.java"
34+ }
35+ }
36+ }
37+ }
You can’t perform that action at this time.
0 commit comments