3 ms·
Not sure what is standard practice but what seems to work for me is building it up in layers. Start with Alpine:latest install OS level packages tag that as ba
by stonemetal12 5y ago
Not sure what is standard practice but what seems to work for me is building it up in layers. Start with Alpine:latest install OS level packages tag that as baseimage:N. Use that image as the base of the development level Dockerfile. Then on a schedule build base image N+1, and run the tests.
That way if something in the base changes and causes a regression you can pin to the last known good until you can fix the bug.