You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could add the files during container startup (via ENTRYPOINT) but that would mean that on each startup the sound files would have to been downloaded.
Currently I use a copy of your Dockerfile without the VOLUME commands.
Both solutions are workaround/hacks. Do you have an idea how to solve this issue in a clean manner?
The text was updated successfully, but these errors were encountered:
Writing my own Dockerfile inheriting from andrius/asterisk where I add some files to
/var/lib/asterisk/sounds/
I run into the problem that in my parent Dockerfile (andrius/asterisk) the directory is defined as VOLUMEBecause of that all the files added by my Dockerfile during build process are gone when starting the container (see https://stackoverflow.com/questions/46227454/modifying-volume-data-inherited-from-parent-image and https://docs.docker.com/engine/reference/builder/#notes-about-specifying-volumes).
I could add the files during container startup (via ENTRYPOINT) but that would mean that on each startup the sound files would have to been downloaded.
Currently I use a copy of your Dockerfile without the VOLUME commands.
Both solutions are workaround/hacks. Do you have an idea how to solve this issue in a clean manner?
The text was updated successfully, but these errors were encountered: