mirror of
https://github.com/containers/podman
synced 2024-10-22 02:03:38 +00:00
97ecd21b59
Also, test-build critical container images depended upon for CI-purposes. Signed-off-by: Chris Evich <cevich@redhat.com>
27 lines
924 B
Docker
27 lines
924 B
Docker
FROM registry.fedoraproject.org/fedora:latest
|
|
|
|
# This container image is utilized by the containers CI automation system
|
|
# for building and testing libpod inside a container environment.
|
|
# It is assumed that the source to be tested will overwrite $GOSRC (below)
|
|
# at runtime.
|
|
ENV GOPATH=/var/tmp/go
|
|
ENV GOSRC=$GOPATH/src/github.com/containers/libpod
|
|
ENV SCRIPT_BASE=./contrib/cirrus
|
|
ENV PACKER_BASE=$SCRIPT_BASE/packer
|
|
|
|
# Only add minimal tooling necessary to complete setup.
|
|
ADD /$SCRIPT_BASE $GOSRC/$SCRIPT_BASE
|
|
ADD /hack/install_catatonit.sh $GOSRC/hack/
|
|
ADD /cni/*.conflist $GOSRC/cni/
|
|
ADD /test/*.json $GOSRC/test/
|
|
ADD /test/*.conf $GOSRC/test/
|
|
WORKDIR $GOSRC
|
|
|
|
# Re-use repositories and package setup as in VMs under CI
|
|
RUN bash $PACKER_BASE/fedora_packaging.sh && \
|
|
dnf clean all && \
|
|
rm -rf /var/cache/dnf
|
|
|
|
# Mirror steps taken under CI
|
|
RUN bash -c 'source $GOSRC/$SCRIPT_BASE/lib.sh && install_test_configs'
|