- ARG DOCKER_BASE_CONTAINER=openwrt/rootfs:x86-64-snapshot
- FROM $DOCKER_BASE_CONTAINER
- RUN mkdir -p /var/lock
- COPY libwolfssl.so /tmp/libwolfssl.so
- RUN export LIBWOLFSSL=$(ls /usr/lib/libwolfssl.so.* -1); \
- rm ${LIBWOLFSSL} && ln -s /tmp/libwolfssl.so ${LIBWOLFSSL}
- RUN ls -Ll /usr/lib/libwolfssl* && ldd /lib/libustream-ssl.so | grep wolfssl
- COPY runTests.sh /tmp/.
- RUN /tmp/runTests.sh
|