-
-
Notifications
You must be signed in to change notification settings - Fork 372
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
The vscode image comes with a folder called "/lsiopy" and a enviornment variable 'VIRTUAL_ENV': '/lsiopy'..
My take is that these are two remnants of the Jenkins file. Since the vscode image does not actually have a python binary installed, I am not sure these two serve any purpose and I wonder why they are included in the image.
docker-code-server/Jenkinsfile
Line 269 in 2f251a6
| python3 -m venv /lsiopy && \ |
The reason I am bringing this up is because the VIRTUAL_ENV variable has caused an issue for me, since the application "poetry" is also using the same variable, and I hadn't been aware that codeserver already had set a value for it.
Expected Behavior
If there is no use of the /lsiopy folder and the associated environment variable post jenkins installation they should not be included in the image.
Steps To Reproduce
- Spin up a fresh codeserver container
- Check the presence of folder "/lsiopy"
test -d /lsiopy && echo "Directory exists" || echo "Directory does not exist"
- Will say "Directory exists" and expected would be "Directory does not exist"
- Check the presence of env variable
echo $VIRTUAL_ENV
- Will return "/lsiopy" and expected would be nothing
CPU architecture
x86-64
Docker creation
vscode:
<<: *common-keys-core
image: lscr.io/linuxserver/code-server:latest
container_name: vscode
ports:
- 8443:8443
environment:
<<: *default-tz-puid-pgid
SUDO_PASSWORD: $VSCODE_SUDO_PW
volumes:
- $DOCKERDIR/own_coding/vscode/:/vscode
- $DOCKERDIR:/docker
- /var/run/docker.sock:/var/run/docker.sock
- /:/host:ro # for cloudbackup development
security_opt:
- no-new-privileges:false
labels:
- "traefik.enable=true"
- "traefik.http.routers.vscode-rtr.entrypoints=https"
- "traefik.http.routers.vscode-rtr.rule=Host(`vscode.$DOMAINNAME_CLOUD_SERVER`)"
- "traefik.http.routers.vscode-rtr.tls=true"
- "traefik.http.routers.vscode-rtr.middlewares=chain-oauth@file"
- "traefik.http.routers.vscode-rtr.service=vscode-svc"
- "traefik.http.services.vscode-svc.loadbalancer.server.port=8443"Metadata
Metadata
Assignees
Labels
Type
Projects
Status