Skip to content
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

Update Dockerfile: move VOLUME instruction after config layer changes #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mariadb-RomanNavrotskiy
Copy link

@mariadb-RomanNavrotskiy mariadb-RomanNavrotskiy commented Jun 11, 2023

Have no idea how it works right now. But I have an issue with "Customize cmapi_server.conf". It just does not work for me. That layer is discarded and breaks any cmapi operations in this image.

https://docs.docker.com/engine/reference/builder/#notes-about-specifying-volumes

Changing the volume from within the Dockerfile: If any build steps change the data within the volume after it has been declared, those changes will be discarded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant