mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
Verifies that RAUC bundles can be installed using NETCONF.
We choose to not add this to the "all" suite for now, as the qeneth
topologies do not run with full disk emulation.
To test locally, configure your "make run" instance to use the UEFI
loader, launch `make run`, and then run:
make INFIX_TESTS=test/case/ietf_system/upgrade.py test-run
32 lines
655 B
Docker
32 lines
655 B
Docker
FROM alpine:3.18.0
|
|
|
|
RUN apk add --no-cache \
|
|
busybox-extras \
|
|
e2fsprogs \
|
|
fakeroot \
|
|
gcc \
|
|
graphviz \
|
|
iproute2 \
|
|
iputils \
|
|
libc-dev \
|
|
libyang-dev \
|
|
linux-headers \
|
|
python3-dev \
|
|
qemu-img \
|
|
qemu-system-x86_64 \
|
|
ruby-mustache \
|
|
squashfs-tools \
|
|
tcpdump
|
|
|
|
# Alpine's QEMU package does not bundle this for some reason, copied
|
|
# from Ubuntu
|
|
COPY qemu-ifup /etc
|
|
|
|
# Needed to let qeneth find mustache(1)
|
|
ENV PATH="${PATH}:/usr/lib/ruby/gems/3.2.0/bin"
|
|
|
|
# Install all python packages used by the tests
|
|
COPY init-venv.sh /root
|
|
COPY pip-requirements.txt /root
|
|
RUN ~/init-venv.sh ~/pip-requirements.txt
|