# This is based on the official Dockerfile image used to build VS Code. It is intended to be used # for all of the GitLab builds related to VS Code, e.g. the Web IDE. # # The only change from the parent Dockerfile image is that we remove the default `apt` packages for # node and yarn, as they are outdated and can conflict with newer installs (see # https://github.com/nodesource/distributions/issues/1172). Node and yarn will installed by # individual build jobs (just as they are in the offical VS Code builds). Hence the "nodeless" name. # # There does not seem to be public access to tags in the Azure Container Registry via # `https://vscodehub.azurecr.io/acr/v1/vscode-linux-build-agent/_tags` (see # https://docs.microsoft.com/en-us/rest/api/containerregistry/tag/get-list?tabs=HTTP). # So, we are using the latest sha256 digest in order to guarantee we are using the # same parent image. FROM vscodehub.azurecr.io/vscode-linux-build-agent:bionic-x64@sha256:e42bcc5245424a86febad3ae792809d8051733c49dee62a17115cc44415ae1b1 MAINTAINER GitLab Editor Team RUN sudo apt-get update \ && sudo apt autoremove -yq nodejs yarn