Closed s-mandra closed 4 years ago
This new Dockerfile
s should allow a better layering. For instance, if only files in tests/src/
are modified, it only reconstruct the last layer (and it doesn't rebuild the qflex
layer).
I think using a .dockerignore file is the canonical solution to this.
.dockerignore
would help regarding not copying compiled libraries as *.o
, but this wouldn't help with a better layering. With the latest modifications, changes to test/src/
won't affect layers that depends on src/
only. On the contrary, modifications to src/
would trigger docker to rebuild layers that depends upon src/
and tests/src
.
This should help issue #203.