mariadb-corporation / mariadb-columnstore-docker

12 stars 7 forks source link

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

Open mariadb-RomanNavrotskiy opened 1 year ago

mariadb-RomanNavrotskiy commented 1 year ago

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.