rpm-ostree/.redhat-ci.Dockerfile

30 lines
670 B
Docker
Raw Normal View History

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 \
PyYAML \
clang \
libubsan \
libasan \
libtsan \
elfutils \
fuse \
sudo \
gnome-desktop-testing
# create an unprivileged user for testing
RUN adduser testuser