I start diving deep in VSCode Remote-container with customization. I use a dotfiles repo to feel at home but my dotfiles (specially .zshrc
) is packages (like: bat, exa, jq and more). I don't want to push it directly in the devcontainer
because my other co-worker don't need them.
I try to do it in my dotfiles/install
script using apt-get install -y jq
but I receive and error:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
I wonder what is the solution to customize the devcontainer without sharing these customization with my co-worker?
Thanks in advance