Skip to content

Docker container (running in Kubernetes) does not persist apt packages installed #2924

Closed
@nodesocket

Description

@nodesocket

OS/Web Information

kubectl exec -it code-server-5b7d67d849-wtwsw -- /bin/bash
    coder@code-server-5b7d67d849-wtwsw:~$ code-server --version
        3.9.1 e0203f2a36c9b7036fefa50eec6cf8fa36c5c015

When I use Terminal in code-server to install packages such as zsh with sudo apt-get install zsh these changes are lost when I redeploy the Helm chart update with a new version of code-server. This seems related to not mounting a volume to where global files /usr/bin, /usr/local/bin would be installed and changed. As a temporary solution, would it be possible to pre-install zsh into the Docker container? I bet a lot of people use zsh by default and would appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions