rpm-ostree/.redhat-ci.Dockerfile
Colin Walters 84f5b21a2e ci: Install ostree too
Since this is the second case I've seen tripping over this, maybe
we should add an rpm-ostree → ostree dependency?

Closes: #637
Approved by: jlebon
2017-02-21 20:38:24 +00:00

26 lines
584 B
Docker

FROM fedora:25
# We could use the upstream spec file here, but anyway for
# runtime reqs, we're at the mercy of whatever in the
# updates repo.
RUN dnf install -y @buildsys-build && \
dnf install -y 'dnf-command(builddep)' && \
dnf builddep -y rpm-ostree && \
dnf install -y rpm-ostree && \
rpm -e rpm-ostree
# These are test-only reqs
RUN dnf install -y \
ostree \
createrepo_c \
/usr/bin/jq \
clang \
libubsan \
sudo \
gnome-desktop-testing
# create an unprivileged user for testing
RUN adduser testuser