Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 committed Oct 12, 2024
1 parent de8b1ec commit c05ccb6
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion components/ide/code/leeway.nightly.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ WORKDIR /gp-code/remote

RUN npm ci

FROM gitpod/openvscode-server-linux-build-agent:focal-x64 as code_builder
FROM ubuntu:22.04 as code_builder

ENV TRIGGER_REBUILD 1

Expand All @@ -31,6 +31,48 @@ ARG CODE_COMMIT
ARG CODE_QUALITY
ARG CODE_VERSION

# Latest stable git
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:git-core/ppa -y

RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
file \
git \
gnome-keyring \
iproute2 \
libfuse2 \
libgconf-2-4 \
libgdk-pixbuf2.0-0 \
libgl1 \
libgtk-3.0 \
libsecret-1-dev \
libssl-dev \
libx11-dev \
libx11-xcb-dev \
libxkbfile-dev \
locales \
lsb-release \
lsof \
python-dbus \
python3-pip \
sudo \
wget \
xvfb \
tzdata \
unzip \
jq

# Set python3 as default
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
RUN python --version

# Check compiler toolchain
RUN gcc --version
RUN g++ --version

RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg

Expand Down

0 comments on commit c05ccb6

Please sign in to comment.