Put openshift dockerfiles in test/install

Move the location of the openshift dockerfiles and delete the old one.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #1542
Approved by: mheon
This commit is contained in:
baude 2018-09-25 13:38:34 -05:00 committed by Atomic Bot
parent e1f10c6094
commit f4e2810fcb
5 changed files with 18 additions and 32 deletions

View File

@ -1,32 +0,0 @@
FROM registry.fedoraproject.org/fedora:28
# This Dockerfile is only for building libpod and running
# validation and gofmt tests.
RUN dnf -y install btrfs-progs-devel \
bzip2 \
findutils \
git \
glib2-devel \
glibc-static \
gnupg \
golang \
golang-github-cpuguy83-go-md2man \
gpgme-devel \
libassuan-devel \
libseccomp-devel \
libselinux-devel \
skopeo-containers \
make \
ostree-devel \
python \
python3-dateutil \
python3-psutil \
python3-pytoml \
python3-varlink \
golang-github-cpuguy83-go-md2man \
rpm-build \
slirp4netns \
iptables && dnf -y clean all
ENV GOPATH=/go

1
test/install/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
rpms/

View File

@ -0,0 +1,3 @@
FROM registry.centos.org/centos/centos:7
RUN yum install -y rpms/noarch/* rpms/x86_64/*

View File

@ -0,0 +1,3 @@
FROM registry.fedoraproject.org/fedora:28
RUN dnf install -y rpms/noarch/* rpms/x86_64/*

11
test/install/README.md Normal file
View File

@ -0,0 +1,11 @@
# Installation Tests
The Dockerfiles in this directory attempt to install the RPMs built from this
repo into the target OS. Make the RPMs first with:
```
make -f .copr/Makefile srpm outdir=test/install/rpms
make -f .copr/Makefile build_binary outdir=test/install/rpms
```
Then, run a container image build using the Dockerfiles in this directory.