mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-27 01:57:49 +03:00
Add a YAML file for the new Red Hat CI framework. Rather than re-installing all the build deps everytime, which takes time, I added a Dockerfile that we can wire up to the Docker Hub. For now it lives at `jlebon/ostree-tester:rhci`, but we can move it under the `projectatomic` org (or a new `ostree` org). Closes: #535 Approved by: cgwalters
22 lines
425 B
Docker
22 lines
425 B
Docker
FROM fedora:24
|
|
MAINTAINER Jonathan Lebon <jlebon@redhat.com>
|
|
|
|
RUN dnf install -y \
|
|
gcc \
|
|
sudo \
|
|
which \
|
|
attr \
|
|
fuse \
|
|
gjs \
|
|
parallel \
|
|
gnome-desktop-testing \
|
|
redhat-rpm-config \
|
|
elfutils \
|
|
'dnf-command(builddep)' \
|
|
&& dnf builddep -y \
|
|
ostree \
|
|
&& dnf clean all
|
|
|
|
# create an unprivileged user for testing
|
|
RUN adduser testuser
|