Andras Fekete 9fdb3cf17a Appease test scripts 8 months ago
..
OpenWrt 9f24217e26 Workaround for removed kmods repo in OpenWRT 21.02. 1 year ago
packaging 7a12202675 Init deb packaging 9 months ago
wolfCLU 00fa00f875 Changes to make it possible to use a different base container 1 year ago
Dockerfile 717249c0cc Trust github.com in container, add in possible Jenkins userIDs 8 months ago
Dockerfile.cross-compiler d95ce57eea Fix script errors 8 months ago
README.md 300c183453 Update README 10 months ago
buildAndPush.sh d95ce57eea Fix script errors 8 months ago
include.am 9fdb3cf17a Appease test scripts 8 months ago
run.sh 1141f9bee9 Use wolfssl/wolfssl-builder as the container name 8 months ago

README.md

Overview

This is a Docker environment for compiling, testing 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. Additional tests can be run as well as debugging of code.

FAQ

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock

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.

Unable to access symlinked files outside of WolfSSL

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:

  1. Change the 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 directory
  2. Move the external repository to within the WolfSSL directory. For example create an external folder which has your files. This route may have complications when stashing Git work.