Jenkinsci container alpine linux and JDK update

I upraded jenkins.war of jenkinsci/blueocean container , but how to upgrade alpine linux OS and JDK???

I’m a bit uncertain about what you mean. Are you creating a Docker image based on the jenkinsci/blueocean image?

yes I run container from docker jenkinsci/blueocean image, and upraded jenkins.war of jenkinsci/blueocean container , but how to upgrade alpine linux OS and JDK

because the last update of jenkinsci/blueocean image in hub docker is since year ago

I’m afraid you would have to start the other way around.
Start from a fresh Jenkins image, and then add the blue-ocean plugin to it.

but I need jenkinsci/blueocean Docker
for automation and building

I got that.
I do think that you would be better starting from a recent Jenkins controller Docker image based on Alpine, with the right set of plugins added to it.
Here is a maintained Dockerfile you could start with. It’s not based on Alpine, but you get the idea. In plugins.txt, you’ll find the list of plugins to install in the Docker image. BlueOcean is not part of this, but you could add it the very same way.

there is no caching for building with official jenkins and it can’t build docker image

1 Like

Could you please elaborate on “there is no caching”?
You need docker in docker, or docker on docker?