forked from typetools/checker-framework
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typetools/checker-framework 3.39.0 release (#603)
- Loading branch information
Showing
147 changed files
with
3,276 additions
and
1,152 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Create a Docker image that is ready to run the main Checker Framework tests, | ||
# using the latest OpenJDK release, currently OpenJDK 19. | ||
# using the latest OpenJDK release, currently OpenJDK 21. | ||
|
||
# "ubuntu" is the latest LTS release. "ubuntu:rolling" is the latest release. | ||
# See releases at https://hub.docker.com/_/ubuntu for available images. | ||
# See https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=openjdk-20-jdk&searchon=names | ||
# See https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=openjdk-21-jdk&searchon=names | ||
# to see what Ubuntu versions support a particular OpenJDK version. | ||
FROM ubuntu:22.10 | ||
FROM ubuntu:23.10 | ||
MAINTAINER Werner Dietl <[email protected]> | ||
|
||
# According to | ||
|
@@ -15,37 +15,49 @@ MAINTAINER Werner Dietl <[email protected]> | |
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& apt-get -qqy install \ | ||
openjdk-19-jdk | ||
&& apt-get -y install aptitude \ | ||
&& aptitude -y install \ | ||
apt-utils | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& apt-get -qqy install \ | ||
&& aptitude -y install \ | ||
openjdk-17-jdk \ | ||
openjdk-21-jdk | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
ant \ | ||
binutils \ | ||
build-essential \ | ||
cpp \ | ||
git \ | ||
gradle \ | ||
jq \ | ||
libcurl3-gnutls \ | ||
make \ | ||
maven \ | ||
mercurial \ | ||
python3-pip \ | ||
pipx \ | ||
python3-distutils \ | ||
python3-requests \ | ||
unzip \ | ||
wget | ||
|
||
# Maven 3.6.3 (the default on Ubuntu 22.04) does not run under JDK 19. | ||
# Maven 3.8.7 is the default on Ubuntu 23.04, so the below is not needed. | ||
# (Don't try to use a variable here for the Maven version.) | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& wget https://mirrors.sonic.net/apache/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.tar.gz \ | ||
&& tar xzvf apache-maven-3.9.1-bin.tar.gz | ||
ENV PATH="/apache-maven-3.9.1/bin:$PATH" | ||
# RUN export DEBIAN_FRONTEND=noninteractive \ | ||
# && wget https://mirrors.sonic.net/apache/maven/maven-3/3.9.2/binaries/apache-maven-3.9.2-bin.tar.gz \ | ||
# && tar xzvf apache-maven-3.9.2-bin.tar.gz | ||
# ENV PATH="/apache-maven-3.9.2/bin:$PATH" | ||
|
||
ENV PATH="/root/.local/bin:$PATH" | ||
RUN pipx install --pip-args="--no-cache-dir" lithium-reducer | ||
|
||
RUN pip3 install --no-cache-dir lithium-reducer PyGithub pyyaml | ||
RUN mkdir /python-env \ | ||
&& python3 -m venv /python-env \ | ||
&& /python-env/bin/pip install --no-cache-dir lithium-reducer PyGithub pyyaml | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get autoremove \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* |
Oops, something went wrong.