
MSC SM2S-IMX8M User Manual
64 / 92
Example:
Figure 7-6: Enter build directory
The “docker” method
We assume that the docker packages (docker, docker.io, etc.) are already installed on your development system and your local user is a member of
the docker group. Using "docker" may especially be helpful under newer versions of the host's OS, such as Ubuntu 18.04 LTS or higher.
For detailed information about docker installation, container handling and development under docker please take a look at [12].
Step 1: Create MSC-LDK container
Execute:
git clone ssh://[email protected]:9418/msc_ol99/docker-msc-ldk
cd docker-msc-ldk
git checkout v1.5.0
cd docker-msc-ldk
mkdir src
mkdir -p rootfs/home/.ssh
cp ~/.ssh/id_rsa rootfs/home/.ssh
cp ~/.ssh/id_rsa.pub rootfs/home/.ssh
docker build -t=msc-ldk .
rm -rf rootfs/home/.ssh