-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't build docker image #487
Comments
@blueapple168 I have tried to build docker image with the Dockerfile you mentioned and I was able to build the image
And SCC (ShareClassCache) is generated as well.
The command
is getting the result correctly to right size the SCC (ShareClassCache) in the docker image generation |
Correct me if I'm wrong, I feel you are executing the command in a container instance of the image generated. The cache
|
But I can't do it well.
|
https://github.com/AdoptOpenJDK/openjdk-docker/blob/master/8/jdk/alpine/Dockerfile.openj9.releases.slim
FULL=$( (java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,printallStats 2>&1 || true) | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}')
echo $( (java -Xshareclasses:name=dry_run_scc,cacheDir=/opt/java/.scc,printallStats 2>&1 || true) | awk '/^Cache is [0-9.]*% .*full/ {print substr($3, 1, length($3)-1)}')
vaule is none。。
SCC_SIZE=$(awk "BEGIN {print int($SCC_SIZE * $FULL / 100.0)}")
ERROR 50* / 100.0
The text was updated successfully, but these errors were encountered: