
* First test * Don't forget to run autogen.sh! * Add tools needed by automake * Try additional platforms * Add in qemu for other platforms * No real support for arm containers * Fix indentation * Simplify container build with a testing script * Simpler names for actions * No need to distribute OpenWRT test files * Better list to put ignore files onto * Create an 'ignore_files' list after all * Add in some documentation of how OpenWRT tests work * Fix up naming of OpenWrt Co-authored-by: Andras Fekete <andras@wolfssl.com>
19 lines
885 B
Docker
19 lines
885 B
Docker
# This Dockerfile is used in conjunction with the docker-OpenWrt.yml GitHub Action.
|
|
FROM alpine:latest AS builder
|
|
|
|
RUN apk add argp-standalone asciidoc bash bc binutils bzip2 cdrkit coreutils \
|
|
diffutils elfutils-dev findutils flex musl-fts-dev g++ gawk gcc gettext git \
|
|
grep intltool libxslt linux-headers make musl-libintl musl-obstack-dev \
|
|
ncurses-dev openssl-dev patch perl python3-dev rsync tar \
|
|
unzip util-linux wget zlib-dev autoconf automake libtool
|
|
COPY . /workspace
|
|
RUN cd /workspace && ./autogen.sh && ./configure --enable-all && make
|
|
|
|
FROM openwrt/rootfs:x86-64-22.03.0
|
|
|
|
RUN mkdir -p /var/lock # Fix for parent container
|
|
RUN rm -f /usr/lib/libwolfssl* # make sure to eliminate existing wolfSSL library
|
|
COPY --from=builder /workspace/src/.libs/libwolfssl.so.35.3.0 /usr/lib/libwolfssl.so.5.4.0.ee39414e
|
|
COPY Docker/OpenWrt/runTests.sh /tmp/.
|
|
RUN /tmp/runTests.sh
|