Replies: 1 comment 1 reply
-
One option is to rework skipping bash. But your issue is that you copy Your container image should work on its own if you copy out the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create extension for [netclient](https://github.com/gravitl/netclient). I have taken network/tailscale extension as template which resulted in following yamls:
Here is
pkg.yaml
:netclient.yaml
Everything seems to work: build, upgrade etc. except extension startup:
So it seems that /usr/local/bin/bash is not available inside extension container although I'm copying it during install phase of pkg.yaml. Can anybody point me to solution here? How to use bash inside of extension container properly? Tailscale does not have this issue because they have [containerboot command - tailscale.com/cmd/containerboot - Go Packages](https://pkg.go.dev/[email protected]/cmd/containerboot) which unfortunately is not the case for netclient, see their dockerfile: [netclient/Dockerfile at develop · gravitl/netclient](https://github.com/gravitl/netclient/blob/develop/Dockerfile) and bash wrapper used to launch it: https://github.com/gravitl/netclient/blob/develop/scripts/netclient.sh
Here is code for adding netclient extension: https://github.com/b1r3k/extensions/tree/adds-netmaker-netclient
Beta Was this translation helpful? Give feedback.
All reactions