Skip to content

Commit

Permalink
upgrade kythe to 0.0.67 (#1918)
Browse files Browse the repository at this point in the history
which fixes the issue when indexing with JDK21
  • Loading branch information
coeuvre committed Mar 14, 2024
1 parent 8fa8d20 commit 11231af
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions buildkite/docker/ubuntu2004/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,20 @@ RUN apt-get -y update && \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-${BUILDARCH}

FROM ubuntu2004-java11 AS ubuntu2004-java11-kythe

RUN LATEST_KYTHE=v0.0.52 && \
mkdir /usr/local/kythe && \
curl -fsSL https://github.com/kythe/kythe/releases/download/${LATEST_KYTHE}/kythe-{$LATEST_KYTHE}.tar.gz | \
tar xvz --no-same-owner --strip-components 1 --directory /usr/local/kythe && \
chmod -R a+r /usr/local/kythe && \
test -f /usr/local/kythe/WORKSPACE

FROM ubuntu2004-nojdk AS ubuntu2004

RUN apt-get -y update && \
apt-get -y install openjdk-21-jdk-headless && \
rm -rf /var/lib/apt/lists/*

ENV JAVA_HOME /usr/lib/jvm/java-21-openjdk-${BUILDARCH}

FROM ubuntu2004 AS ubuntu2004-kythe

RUN LATEST_KYTHE=v0.0.67 && \
mkdir /usr/local/kythe && \
curl -fsSL https://github.com/kythe/kythe/releases/download/${LATEST_KYTHE}/kythe-{$LATEST_KYTHE}.tar.gz | \
tar xvz --no-same-owner --strip-components 1 --directory /usr/local/kythe && \
chmod -R a+r /usr/local/kythe && \
test -f /usr/local/kythe/WORKSPACE

0 comments on commit 11231af

Please sign in to comment.