Kubernetes Custom Dev Environment - Home directory is formatted #16344
Unanswered
rhythm-devopspro
asked this question in
Workspace Provisioning & Templates
Replies: 1 comment
-
Hi @rhythm-devopspro. Sorry for not seeing this before. Coming to the issue is that the template mounts a volume over the home directory, which shadows the file system of the container at that path. You can either install the tools outside the home or install them in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setup
codercom/enterprise-base:ubuntu
as base image, to install some pre-required things likenvm
,gvm
,pyenv
andinfisical
docker run
command, everything works exactly as expected, I have nodejs, golang, and python installed./home/coder
gets formatted, and all the installed apps likenvm
,pyenv
andgvm
and.bashrc
file, all gets removed, thus not usable in the environmentapt
are there likeinfisical
, that's not removed.Expected Result
Dockerfile Used
Public Docker Image
devopsprosamples/development-environment:coder
docker run -it devopsprosamples/development-environment:coder bash
node -v
,python --version
,go version
,nvm -v
.Beta Was this translation helpful? Give feedback.
All reactions