/opt/atlassian/jira/WEB-INF/lib in Dockerfile

Administradores January 26, 2022

Good morning.
We have a Dockerfile configured,
but we want to install Javamelody.
We see that we have to install in this path.
/opt/atlassian/jira/WEB-INF/lib
but this path is inaccessible.
How can we mount a persistence volume
and be able to install and update the javamelody.jar

I look forward to your reply.
Best regards

1 answer

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2022

Hi @Administradores 

Have done this !!

Include copy step in Dockerfile to copy the file to a location  you have specified.

Make you to run the docker image as non-root user and you will be able to make the changes!!

Thanks,

Pramodh

Administradores January 26, 2022

I want to be able to access that path from a persistence volume.
like /opt/atlassian/jira/logs
I have mounted the volume but I got an error.
I don't know if it is possible to mount that volume so that it is a persistence volume and can be modified.

VOLUME ["/var/atlassian/application-data/jira", "/opt/atlassian/jira/logs"]

Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2022

You need to modify the image here and then use that image to start the server!!

It's possible. Let me know if you need exact steps!!

Administradores January 26, 2022

yes please I need the steps.
I look forward to your reply.

Suggest an answer

Log in or Sign up to answer