Build Artifacts
After the Flamenco Docker Build has successfully created a dev container (from a flamenco_dev image) it will have some build artifacts, such as the the flamenco-manager
and flamenco-worker
executables.
To inspect the container and any build artifacts you can connect using the following command:
docker run -it flamenco_dev_manager /bin/bash
root@f6a226f38615:/code# ls -l
total 71556
-rw-r--r-- 1 root root 7225 Apr 22 20:14 CHANGELOG.md
-rw-r--r-- 1 root root 698 Apr 22 20:14 CONFIG_DESIGN.md
-rw-r--r-- 1 root root 543 Apr 23 02:06 Dockerfile
-rw-r--r-- 1 root root 35149 Apr 22 20:14 LICENSE
-rw-r--r-- 1 root root 12965 Apr 22 20:14 Makefile
-rw-r--r-- 1 root root 500 Apr 22 20:14 README.md
drwxr-xr-x 3 root root 4096 Apr 23 01:53 addon
-rwxr-xr-x 1 root root 3139648 Apr 23 02:11 addon-packer
drwxr-xr-x 8 root root 4096 Apr 23 01:53 cmd
-rwxr-xr-x 1 root root 497 Apr 22 20:14 debug-job-echo.sh
-rwxr-xr-x 1 root root 790 Apr 22 20:14 debug-job-render.sh
-rwxr-xr-x 1 root root 897 Apr 22 20:14 deploy.sh
-rwxr-xr-x 1 root root 50948610 Apr 23 02:12 flamenco-manager
-rwxr-xr-x 1 root root 19030641 Apr 23 02:12 flamenco-worker
-rw-r--r-- 1 root root 2620 Apr 22 20:14 go.mod
-rw-r--r-- 1 root root 29433 Apr 22 20:14 go.sum
drwxr-xr-x 12 root root 4096 Apr 23 01:53 internal
drwxr-xr-x 7 root root 4096 Apr 23 01:53 pkg
drwxr-xr-x 1 root root 4096 Apr 23 02:11 web
To extract these executables, you can use docker cp
as described in Flamenco Build Executables or using buildx multi-platform guides.
You can also run other make
arguments for the Flamenco project such as tests or deployment targets. Some examples based on the Flamenco project Building Flamenco available targets.