1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
# Install the built rpms and test them
FROM dist-base as dist
# If you want to install extra packages or do generic configuration,
# do it before the COPY. Either here, or in the dist-base layer.
COPY --from=sdist /sdist /sdist
COPY --from=package-builder /dist /dist
# Install built packages with dependencies
RUN apt install -y /dist/*.deb
# Installation tests
COPY builder-support/install-tests /wforce/builder-support/install-tests
WORKDIR /wforce
RUN builder-support/install-tests/test-simple-exec.sh
|