mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ci: factor out Fedora Rawhide CI setup
To run Fedora Rawhide based aarch64 containers on Drone CI our current Dockerfile setup does not work. This moves the package installation out of the Dockerfile into scripts/ci/prepare-for-fedora-rawhide.sh to be usable in the Dockerfile environment and in the Drone CI environment. Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
95c4a8b400
commit
ed7cefe217
2 changed files with 39 additions and 37 deletions
|
|
@ -1,42 +1,8 @@
|
|||
ARG CC=gcc
|
||||
ARG ENV1=FOOBAR
|
||||
|
||||
RUN dnf install -y \
|
||||
ccache \
|
||||
diffutils \
|
||||
findutils \
|
||||
gcc \
|
||||
git \
|
||||
gnutls-devel \
|
||||
gzip \
|
||||
iproute \
|
||||
iptables \
|
||||
nftables \
|
||||
nftables-devel \
|
||||
libaio-devel \
|
||||
libasan \
|
||||
libcap-devel \
|
||||
libnet-devel \
|
||||
libnl3-devel \
|
||||
make \
|
||||
procps-ng \
|
||||
protobuf-c-devel \
|
||||
protobuf-devel \
|
||||
python3-flake8 \
|
||||
python3-PyYAML \
|
||||
python3-future \
|
||||
python3-protobuf \
|
||||
python3-junit_xml \
|
||||
redhat-rpm-config \
|
||||
sudo \
|
||||
tar \
|
||||
which \
|
||||
e2fsprogs \
|
||||
rubygem-asciidoctor \
|
||||
kmod
|
||||
|
||||
RUN ln -sf python3 /usr/bin/python
|
||||
ENV PYTHON=python3
|
||||
COPY scripts/ci/prepare-for-fedora-rawhide.sh /bin/prepare-for-fedora-rawhide.sh
|
||||
RUN /bin/prepare-for-fedora-rawhide.sh
|
||||
|
||||
COPY . /criu
|
||||
WORKDIR /criu
|
||||
|
|
@ -49,4 +15,3 @@ RUN mv .ccache /tmp && make mrproper && ccache -sz && \
|
|||
RUN adduser -u 1000 test
|
||||
|
||||
RUN make -C test/zdtm -j $(nproc)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue