rpm-ostree/.redhat-ci.Dockerfile
Jonathan Lebon c870ac58dc redhat-ci: fix Dockerfile
This was supposed to be part of the last PR (#537). But GitHub somehow
used an out-of-date PR on that branch when I opened the PR.

Closes: #538
Approved by: cgwalters
2016-12-06 21:00:23 +00:00

24 lines
545 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 \
createrepo_c \
clang \
libubsan \
sudo \
gnome-desktop-testing
# create an unprivileged user for testing
RUN adduser testuser