2023-01-20 19:59:36 -05:00
|
|
|
# This Dockerfile is used in conjunction with the docker-OpenWrt.yml GitHub Action.
|
2023-01-25 16:58:52 -05:00
|
|
|
ARG DOCKER_BASE_CONTAINER=openwrt/rootfs:x86-64-snapshot
|
|
|
|
|
FROM $DOCKER_BASE_CONTAINER
|
2023-01-20 19:59:36 -05:00
|
|
|
|
|
|
|
|
RUN mkdir -p /var/lock # Fix for parent container
|
2023-01-25 16:58:52 -05:00
|
|
|
COPY libwolfssl.so /tmp/libwolfssl.so
|
|
|
|
|
RUN export LIBWOLFSSL=$(ls /usr/lib/libwolfssl.so.* -1); \
|
|
|
|
|
rm ${LIBWOLFSSL} && ln -s /tmp/libwolfssl.so ${LIBWOLFSSL}
|
|
|
|
|
# for debugging purposes to make sure the correct library is tested
|
|
|
|
|
RUN ls -Ll /usr/lib/libwolfssl* && ldd /lib/libustream-ssl.so | grep wolfssl
|
|
|
|
|
COPY runTests.sh /tmp/.
|
2023-01-20 19:59:36 -05:00
|
|
|
RUN /tmp/runTests.sh
|