Sign inSign up

kanyin/vsc-app

By kanyin

•Updated almost 2 years ago

this docker can be used to run VS Code (code-server) in SAP Data Intelligence Cloud

Image
Developer tools
0

10K+

kanyin/vsc-app repository overview

⁠Version History

⁠4.91.1-intel : It contains code-server 4.91.1, ubuntu 22.04 (for long term support) and python 3.10

And the following vscode extensions are also installed:

  • donjayamanne.githistory
  • eamodio.gitlens
  • ms-python.python
  • ms-python.pylint
  • ms-toolsai.jupyter
  • humao.rest-client
⁠4.23.1 : It contains code-server 4.23.1, ubuntu 22.04 (for long term support) and python 3.10

And the following vscode extensions are also installed:

  • donjayamanne.githistory
  • eamodio.gitlens
  • ms-python.python
  • ms-python.pylint
⁠4.10.0 : It contains code-server 4.10.0, ubuntu 22.10 . And the following vscode extensions are also installed:
  • donjayamanne.githistory
  • ms-python.python

⁠Bugs in 4.5.0

4.5.0 version has no syntax highlighting for python file. I suspect that it is a bug in vscode itself. And the terminal is not working because of this issue: https://github.com/coder/code-server/issues/5321⁠ So for python developer, I suggest to use 4.4.0

⁠Description

This docker is based on the sapdi/vsc-app. I just updated the code-server to latest version and added some package I need

The tag shows the version of the installed coder server, see https://github.com/coder/code-server/releases⁠.

To install a SAP DI Solution which uses this docker, please refer to the guide below: https://github.com/SAP-samples/datahub-integration-examples/tree/main/GitWorkflow/vscode-app⁠

If you want to build your own docker image, just change the below Dockerfile to fit your requirement

FROM ubuntu:22.04

RUN apt-get update && apt-get install -y \
        openssl \
        net-tools \
        git \
        locales \
        dumb-init \
        vim \
        curl \
        wget \
        python3.10 \
        python3-pip \
	jq \
        && rm -rf /var/lib/apt/lists/*

RUN locale-gen en_US.UTF-8
# We cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LC_ALL=en_US.UTF-8 \
        SHELL=/bin/bash

# install the latest version
RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.23.1

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

# install vscode extensions
RUN code-server --install-extension donjayamanne.githistory
RUN code-server --install-extension eamodio.gitlens
RUN code-server --install-extension ms-python.python
RUN code-server --install-extension ms-python.pylint

ENTRYPOINT ["dumb-init", "--"]
CMD ["bash", "-c", "exec code-server --host 0.0.0.0 --port 3000 --auth none /vhome"]

Tag summary

Content type

Image

Digest

sha256:a6459853d…

Size

455.5 MB

Last updated

almost 2 years ago

docker pull kanyin/vsc-app