wolfssl/Docker/run.sh

6 lines
385 B
Bash
Raw Normal View History

echo "Running with \"${@}\"..."
2022-12-15 12:10:25 -05:00
docker build -t wolfssl --build-arg UID=$(id -u) --build-arg GID=$(id -g) . && \
docker run -it -v $(pwd)/..:/tmp/wolfssl -w /tmp/wolfssl wolfssl /bin/bash -c "./autogen.sh && ./configure $(echo ${@}) && make && ./testsuite/testsuite.test" && \
docker run -it -v $(pwd)/..:/tmp/wolfssl -w /tmp/wolfssl wolfssl /bin/bash
echo "Exited with error code $?"