rpm-ostree/.redhat-ci.Dockerfile
Colin Walters b33d303a9d ci/container: Use updates-testing
This is another way to partially address
https://github.com/projectatomic/rpm-ostree/pull/740
We should also likely have a `fedora/25/atomic/testing` image.

Closes: #742
Approved by: jlebon
2017-04-19 13:22:19 +00:00

32 lines
817 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. 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