rpm-ostree/.redhat-ci.Dockerfile

32 lines
817 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. Though we do explicitly use updates-testing
# so our CI coverage indirectly tests that.
RUN dnf config-manager --set-enabled updates-testing && \
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