Andras Fekete 8cd06c64b2 Add dependency for liblms | 1 an în urmă | |
---|---|---|
.. | ||
OpenWrt | 1 an în urmă | |
wolfCLU | 1 an în urmă | |
Dockerfile | 1 an în urmă | |
README.md | 1 an în urmă | |
include.am | 1 an în urmă | |
run.sh | 1 an în urmă |
This is a simple Docker environment for compiling and running WolfSSL. Use run.sh
to build everything (Docker container, WolfSSL, etc.). This script takes in arguments that can be passed to ./configure
. For example: run.sh --enable-all
When the compilation and tests succeed, you will be dropped in to a shell environment within the container. This can be useful to build other things within the environment.
You need to be added to the docker
group to run Docker containers. Run sudo usermod -aG docker $USER
. You may need to restart the Docker daemon.
The volume mounted in the Docker container needs to have all files that your compilation will need. To solve this, you have a couple options:
WOLFSSL_DIR
variable in the run.sh
to one higher up (by adding /..
to the path). Then update the docker build
to include the correct path to the Dockerfile and the docker run
argument to the working directory (-w
) to the WolfSSL source directoryexternal
folder which has your files. This route may have complications when stashing Git work.