Closed ceejatec closed 2 years ago
Based on tips from the Docker team, we're now using Go templating to include/exclude chunks of the Dockerfile based on the target distro.
Moved directory organization of runit into runit_build stage, so main stage doesn't need to COPY and then RUN to make changes.
Cleaned up cross-distro PKG_COMMAND invocations to do (or not do) more correct invocations of "update" and "cleanup".
Formatted multi-line && commands consistently and used "set -x" in all cases.
Based on tips from the Docker team, we're now using Go templating to include/exclude chunks of the Dockerfile based on the target distro.
Moved directory organization of runit into runit_build stage, so main stage doesn't need to COPY and then RUN to make changes.
Cleaned up cross-distro PKG_COMMAND invocations to do (or not do) more correct invocations of "update" and "cleanup".
Formatted multi-line && commands consistently and used "set -x" in all cases.