When starting the service for the first time locally, the Maven installation fails because it can't read from the /home/akvo/.m2 directory.
Problem or idea
If the local system doesn't already have a ~/.m2 directory, Docker tries to create a write-only dir by default when mounting the volume. However, Maven expects to be able to read from the directory, so it fails.
Solution or next step
Either document this, or create the ~/.m2 directory automatically with read and write permissions.
Context
When starting the service for the first time locally, the Maven installation fails because it can't read from the
/home/akvo/.m2
directory.Problem or idea
If the local system doesn't already have a
~/.m2
directory, Docker tries to create a write-only dir by default when mounting the volume. However, Maven expects to be able to read from the directory, so it fails.Solution or next step
Either document this, or create the
~/.m2
directory automatically with read and write permissions.