forked from typetools/checker-framework
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Werner Dietl <[email protected]>
- Loading branch information
1 parent
93f44a2
commit e151772
Showing
15 changed files
with
345 additions
and
126 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# 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-21-jdk&searchon=names | ||
# to see what Ubuntu versions support a particular OpenJDK version. | ||
FROM ubuntu:23.10 | ||
FROM ubuntu:rolling | ||
MAINTAINER Werner Dietl <[email protected]> | ||
|
||
# According to | ||
|
@@ -25,6 +25,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
openjdk-17-jdk \ | ||
openjdk-21-jdk | ||
|
||
# Known good combinations of JTReg and the JDK appear at https://builds.shipilev.net/jtreg/ . | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
|
@@ -37,21 +39,33 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
libcurl3-gnutls \ | ||
make \ | ||
maven \ | ||
pipx \ | ||
python3-distutils \ | ||
python3-requests \ | ||
python3-setuptools \ | ||
unzip \ | ||
wget | ||
wget \ | ||
&& aptitude -y install \ | ||
jtreg7 | ||
|
||
# Maven 3.8.7 is the default on Ubuntu 23.04, so the below is not needed. | ||
RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \ | ||
&& chmod +x bazelisk-linux-amd64 \ | ||
&& mv bazelisk-linux-amd64 /usr/local/bin/bazelisk | ||
|
||
# Use the same Maven version in all images. | ||
# (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.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" | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& wget https://mirrors.sonic.net/apache/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz \ | ||
&& tar xzvf apache-maven-3.9.9-bin.tar.gz | ||
ENV PATH="/apache-maven-3.9.9/bin:$PATH" | ||
|
||
ENV PATH="/root/.local/bin:$PATH" | ||
RUN pipx install --pip-args="--no-cache-dir" lithium-reducer | ||
# `pipx ensurepath` only adds to the path in newly-started shells. | ||
# BUT, setting the path for the current user is not enough. | ||
# Azure creates a new user and runs jobs as it. | ||
# So, install into /usr/local/bin which is already on every user's path. | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
pipx \ | ||
&& PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install lithium-reducer | ||
|
||
RUN mkdir /python-env \ | ||
&& python3 -m venv /python-env \ | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# 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 | ||
# to see what Ubuntu versions support a particular OpenJDK version. | ||
FROM ubuntu:23.10 | ||
FROM ubuntu:rolling | ||
MAINTAINER Werner Dietl <[email protected]> | ||
|
||
# According to | ||
|
@@ -26,6 +26,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
openjdk-17-jdk \ | ||
openjdk-21-jdk | ||
|
||
# Known good combinations of JTReg and the JDK appear at https://builds.shipilev.net/jtreg/ . | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
|
@@ -38,18 +40,23 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
libcurl3-gnutls \ | ||
make \ | ||
maven \ | ||
pipx \ | ||
python3-distutils \ | ||
python3-requests \ | ||
python3-setuptools \ | ||
unzip \ | ||
wget | ||
wget \ | ||
&& aptitude -y install \ | ||
jtreg7 | ||
|
||
# Maven 3.8.7 is the default on Ubuntu 23.04, so the below is not needed. | ||
RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \ | ||
&& chmod +x bazelisk-linux-amd64 \ | ||
&& mv bazelisk-linux-amd64 /usr/local/bin/bazelisk | ||
|
||
# Use the same Maven version in all images. | ||
# (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.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" | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& wget https://mirrors.sonic.net/apache/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz \ | ||
&& tar xzvf apache-maven-3.9.9-bin.tar.gz | ||
ENV PATH="/apache-maven-3.9.9/bin:$PATH" | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# 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-22-jdk&searchon=names | ||
# to see what Ubuntu versions support a particular OpenJDK version. | ||
FROM ubuntu:mantic | ||
FROM ubuntu:rolling | ||
MAINTAINER Werner Dietl <[email protected]> | ||
|
||
# According to | ||
|
@@ -25,6 +25,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
openjdk-17-jdk \ | ||
openjdk-22-jdk | ||
|
||
# Known good combinations of JTReg and the JDK appear at https://builds.shipilev.net/jtreg/ . | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
|
@@ -37,21 +39,33 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
libcurl3-gnutls \ | ||
make \ | ||
maven \ | ||
pipx \ | ||
python3-distutils \ | ||
python3-requests \ | ||
python3-setuptools \ | ||
unzip \ | ||
wget | ||
wget \ | ||
&& aptitude -y install \ | ||
jtreg7 | ||
|
||
# Maven 3.8.7 is the default on Ubuntu 23.04, so the below is not needed. | ||
RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \ | ||
&& chmod +x bazelisk-linux-amd64 \ | ||
&& mv bazelisk-linux-amd64 /usr/local/bin/bazelisk | ||
|
||
# Use the same Maven version in all images. | ||
# (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.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" | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& wget https://mirrors.sonic.net/apache/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz \ | ||
&& tar xzvf apache-maven-3.9.9-bin.tar.gz | ||
ENV PATH="/apache-maven-3.9.9/bin:$PATH" | ||
|
||
ENV PATH="/root/.local/bin:$PATH" | ||
RUN pipx install --pip-args="--no-cache-dir" lithium-reducer | ||
# `pipx ensurepath` only adds to the path in newly-started shells. | ||
# BUT, setting the path for the current user is not enough. | ||
# Azure creates a new user and runs jobs as it. | ||
# So, install into /usr/local/bin which is already on every user's path. | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
pipx \ | ||
&& PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install lithium-reducer | ||
|
||
RUN mkdir /python-env \ | ||
&& python3 -m venv /python-env \ | ||
|
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# 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 | ||
# to see what Ubuntu versions support a particular OpenJDK version. | ||
FROM ubuntu:mantic | ||
FROM ubuntu:rolling | ||
MAINTAINER Werner Dietl <[email protected]> | ||
|
||
# According to | ||
|
@@ -26,6 +26,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
openjdk-17-jdk \ | ||
openjdk-22-jdk | ||
|
||
# Known good combinations of JTReg and the JDK appear at https://builds.shipilev.net/jtreg/ . | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
&& aptitude -y install \ | ||
|
@@ -38,18 +40,23 @@ RUN export DEBIAN_FRONTEND=noninteractive \ | |
libcurl3-gnutls \ | ||
make \ | ||
maven \ | ||
pipx \ | ||
python3-distutils \ | ||
python3-requests \ | ||
python3-setuptools \ | ||
unzip \ | ||
wget | ||
wget \ | ||
&& aptitude -y install \ | ||
jtreg7 | ||
|
||
# Maven 3.8.7 is the default on Ubuntu 23.04, so the below is not needed. | ||
RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.23.0/bazelisk-linux-amd64 \ | ||
&& chmod +x bazelisk-linux-amd64 \ | ||
&& mv bazelisk-linux-amd64 /usr/local/bin/bazelisk | ||
|
||
# Use the same Maven version in all images. | ||
# (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.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" | ||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& wget https://mirrors.sonic.net/apache/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz \ | ||
&& tar xzvf apache-maven-3.9.9-bin.tar.gz | ||
ENV PATH="/apache-maven-3.9.9/bin:$PATH" | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -qqy update \ | ||
|
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
Oops, something went wrong.