b33d303a9d
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
32 lines
817 B
Docker
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
|