Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now if pillar is build with `DEV=y`, the debug symbols are not stripped, and use reccomended GCFLAGS for devle. Also include delve to the pillar container, and make required port forwarded, so delve can attach. Note that in this patch the development version of pillar container is not picked up by linuxkit yet. Signed-off-by: Yuri Volchkov <yuri@volch.org>
- Loading branch information
1 parent
8bb32ec
commit f284dd6
Showing
3 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# linuxkit build template | ||
# | ||
# Copyright (c) 2018-2022 Zededa, Inc. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
org: lfedge | ||
image: eve-pillar-dev | ||
network: yes | ||
config: | ||
binds: | ||
- /lib/modules:/lib/modules | ||
- /dev:/dev | ||
- /etc/resolv.conf:/etc/resolv.conf | ||
- /run:/run | ||
- /config:/config | ||
- /:/hostfs | ||
- /persist:/persist:rshared,rbind | ||
- /usr/bin/containerd:/usr/bin/containerd | ||
- /usr/bin/containerd-shim:/usr/bin/containerd-shim | ||
- /usr/bin/containerd-shim-runc-v2:/usr/bin/containerd-shim-runc-v2 | ||
net: host | ||
capabilities: | ||
- all | ||
pid: host | ||
rootfsPropagation: shared | ||
security_opt: | ||
- seccomp:unconfined | ||
ports: | ||
- 2345:2345 | ||
buildArgs: | ||
- DEV=y |