Use buster as the base image for vscode build

This commit is contained in:
Vishal Tak 2024-02-22 12:33:51 +00:00 committed by Rémy Coutable
parent a2691244b0
commit 1c238b01c3

View file

@ -5,11 +5,13 @@
# 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-bullseye
FROM node:18.19-buster
MAINTAINER GitLab IDE Team
# Since python-is-python3 is not available in buster, we directly create the symlink
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
build-essential libx11-dev libxkbfile-dev libsecret-1-dev libkrb5-dev \
&& ln -sf /usr/bin/python3 /usr/bin/python
RUN mkdir -p /root/vscode
WORKDIR /root/vscode