From 1c238b01c39a20306efe90c52c0596da79a05a37 Mon Sep 17 00:00:00 2001 From: Vishal Tak Date: Thu, 22 Feb 2024 12:33:51 +0000 Subject: [PATCH] Use buster as the base image for vscode build --- Dockerfile.gitlab-vscode-build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile.gitlab-vscode-build b/Dockerfile.gitlab-vscode-build index 3fe4572..af7d085 100644 --- a/Dockerfile.gitlab-vscode-build +++ b/Dockerfile.gitlab-vscode-build @@ -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