diff --git a/.gitlab/ci/custom.images.yml b/.gitlab/ci/custom.images.yml index 2709605..457821b 100644 --- a/.gitlab/ci/custom.images.yml +++ b/.gitlab/ci/custom.images.yml @@ -7,6 +7,9 @@ gitlab-charts-build-base-helm-3.9: gitlab-helm3.9-kubectl1.23: extends: .build_static_image +gitlab-vscode-build: + extends: .build_static_image + gitlab-vscode-nodeless: extends: .build_static_image diff --git a/Dockerfile.gitlab-vscode-build b/Dockerfile.gitlab-vscode-build new file mode 100644 index 0000000..777b9b6 --- /dev/null +++ b/Dockerfile.gitlab-vscode-build @@ -0,0 +1,15 @@ +# This image is based node:18.19-alpine3.18 image. It is intended to be used +# for all of the GitLab builds related to VS Code, e.g. the Web IDE. +# +# The packages installed in this image are based on VSCode development +# environment prerequisites for Linux. You can read them in the following +# documentation https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites + +FROM node:18.19-bookworm +MAINTAINER GitLab IDE Team + +RUN apt-get update \ + && apt-get install -y g++ python3 make git bash curl perl pkg-config \ + build-essential libx11-dev libxkbfile-dev libsecret-1-dev libkrb5-dev python-is-python3 +RUN mkdir -p /root/vscode +WORKDIR /root/vscode