This is included the docker setup environment for secure boot toolkit running.
1.2K
For a containerized environment with all dependencies pre-configured, you can use the secure-boot-toolkit Docker image.
docker pull hvbon2010/secure-boot-toolkit:latest
Create a build script:
vim build_secure_boot_toolkit.sh
Add the following content:
#!/bin/bash
# Script name: build_secure_boot_toolkit.sh
# Name of container
DOCKER_NAME=secboot-toolkit_$USER
# Username of host PC
HOST_USER=$USER
# Docker username
DOCKER_USER=user
# gitconfig on Host machine
GIT_CONF=/home/$HOST_USER/.gitconfig
GIT_CRED=/home/$HOST_USER/.git-credentials
# SSH dir on Host machine
SSH_PATH=/home/$HOST_USER/.ssh
# Your workspace folder
WORK_SPACE=/home/$HOST_USER/workspace
# Build container
docker run --name $DOCKER_NAME -dit --privileged \
-v /dev/bus/usb:/dev/bus/usb \
-v /etc/localtime:/etc/localtime:ro \
-v $WORK_SPACE:/home/$DOCKER_USER/workspace \
hvbon2010/secure-boot-toolkit:latest bash
Make the script executable and run it:
chmod +x build_secure_boot_toolkit.sh
./build_secure_boot_toolkit.sh
Once the container is built, access it with:
docker exec -it secboot-toolkit_$USER bash
Content type
Image
Digest
sha256:e13dfce89…
Size
1.6 GB
Last updated
6 months ago
docker pull hvbon2010/secure-boot-toolkit