Skip to content

Commit 57e27fe

Browse files
committed
Update Docker image
1 parent dd365b2 commit 57e27fe

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

test/docker/ci/image/Dockerfile

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
ENV DEBIAN_FRONTEND=noninteractive
44
ENV LC_ALL C.UTF-8
55

6-
ARG VIM_VERSION=v9.0.0214
6+
ARG VIM_VERSION=v9.1.0016
77
ARG YCM_VIM_PYTHON=python3
88
ARG NODE_MAJOR=18
99

1010
RUN apt-get update && \
1111
apt-get -y dist-upgrade && \
12-
apt-get -y --no-install-recommends install ca-cacert \
12+
apt-get -y --no-install-recommends install \
1313
gnupg \
1414
locales \
1515
tzdata \
1616
language-pack-en \
17-
curl \
1817
sudo \
19-
libncurses5-dev libncursesw5-dev && \
20-
mkdir -p /etc/apt/keyrings && \
21-
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
22-
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" > /etc/apt/sources.list.d/nodesource.list && \
23-
apt-get update && apt-get -y upgrade && apt-get -y --no-install-recommends install \
18+
libncurses5-dev libncursesw5-dev \
2419
git \
2520
build-essential \
2621
cmake \
2722
python3-dev \
2823
python3-pip \
2924
python3-setuptools \
25+
python3-wheel \
3026
openjdk-11-jdk-headless \
3127
nodejs \
28+
npm \
3229
vim-nox \
3330
zlib1g-dev && \
3431
apt-get -y autoremove
@@ -50,9 +47,6 @@ RUN mkdir -p $HOME/vim && \
5047
make -j 4 && \
5148
make install
5249

53-
# Python
54-
RUN ${YCM_VIM_PYTHON} -m pip install --upgrade pip setuptools wheel
55-
5650
# clean up
5751
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* &&\
5852
rm -rf ~/.cache && \

0 commit comments

Comments
 (0)