I think an updated VS Code version would be really helpful because the current version is too old for a lot of plugins. I attached a Dockerfile with a config I verified to work with SAP Data Intelligence. Please note that this Dockerfile also includes a python 3.6 installation and the python VS Code plugin. It would be really nice if you cloud push the updated container to Docker Hub.
If you want to, I can also open a PR with the changes.
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y \
openssl \
net-tools \
git \
locales \
dumb-init \
vim \
curl \
wget \
python3.6 \
&& rm -rf /var/lib/apt/lists/*
RUN locale-gen en_US.UTF-8
ENV LC_ALL=en_US.UTF-8 \
SHELL=/bin/bash
RUN wget https://github.com/cdr/code-server/releases/download/v3.12.0/code-server-3.12.0-linux-amd64.tar.gz
RUN tar xvfz /code-server-3.12.0-linux-amd64.tar.gz
RUN groupadd -g 999 coder && \
useradd -r -u 999 -g coder coder && \
mkdir /home/coder && \
chown coder:coder /home/coder
USER 999:999
EXPOSE 3000
ENV HOME /home/coder
ENV GIT_DISCOVERY_ACROSS_FILESYSTEM 1
RUN /code-server-3.12.0-linux-amd64/bin/code-server --install-extension ms-python.python
ENTRYPOINT ["dumb-init", "--"]
CMD ["bash", "-c", "exec /code-server-3.12.0-linux-amd64/bin/code-server --port 3000 --auth none /vhome"]
I think an updated VS Code version would be really helpful because the current version is too old for a lot of plugins. I attached a Dockerfile with a config I verified to work with SAP Data Intelligence. Please note that this Dockerfile also includes a python 3.6 installation and the python VS Code plugin. It would be really nice if you cloud push the updated container to Docker Hub.
If you want to, I can also open a PR with the changes.