-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update GDAL & JDK versions * Add alternative docker images built from osgeo/gdal * Add JDK21 builds * Add Int8 GDAL 3.7+ support * Add JDK21 builds * Cleanup Dockerfile; upd CI * Bump GDALWarp version up * Dry dataTypeToCellType function
- Loading branch information
Showing
15 changed files
with
138 additions
and
697 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# docker buildx create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder | ||
# docker buildx inspect --bootstrap | ||
# | ||
# docker buildx build --build-arg="JAVA_VERSION=11" --build-arg="GDAL_VERSION=3.8.5" --platform linux/amd64,linux/arm64 --push --tag daunnc/osgeo-gdal-jdk11:3.8.5 . | ||
# docker buildx build --build-arg="JAVA_VERSION=17" --build-arg="GDAL_VERSION=3.8.5" --platform linux/amd64,linux/arm64 --push --tag daunnc/osgeo-gdal-jdk17:3.8.5 . | ||
# docker buildx build --build-arg="JAVA_VERSION=21" --build-arg="GDAL_VERSION=3.8.5" --platform linux/amd64,linux/arm64 --push --tag daunnc/osgeo-gdal-jdk21:3.8.5 . | ||
|
||
ARG GDAL_VERSION=3.8.5 | ||
FROM ghcr.io/osgeo/gdal:ubuntu-full-${GDAL_VERSION} | ||
|
||
ARG JAVA_VERSION=11 | ||
|
||
LABEL Grigory Pomadchin <[email protected]> | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN set -ex && \ | ||
apt update -y && \ | ||
apt install --no-install-recommends -y openjdk-${JAVA_VERSION}-jdk | ||
|
||
ENV JAVA_HOME /usr/lib/jvm/java-${JAVA_VERSION}-openjdk-amd64 | ||
RUN update-alternatives --set java `update-alternatives --list java | grep java-${JAVA_VERSION}` | ||
|
||
ENV LD_LIBRARY_PATH "/lib/x86_64-linux-gnu/:/lib/x86_64-linux-gnu/jni/:/lib/aarch64-linux-gnu/:/lib/aarch64-linux-gnu/jni/:$LD_LIBRARY_PATH" | ||
|
||
RUN apt-get update && apt-get -y install bash wget unzip gpg software-properties-common | ||
|
||
# Install SBT | ||
RUN apt-get install -y curl gnupg && \ | ||
echo 'deb https://repo.scala-sbt.org/scalasbt/debian all main' | tee /etc/apt/sources.list.d/sbt.list && \ | ||
echo 'deb https://repo.scala-sbt.org/scalasbt/debian /' | tee /etc/apt/sources.list.d/sbt_old.list && \ | ||
curl -sL 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823' | apt-key add - && \ | ||
apt-get update && \ | ||
apt-get install -y sbt |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-XX:+IgnoreUnrecognizedVMOptions | ||
--add-modules=jdk.incubator.vector | ||
--add-opens=java.base/java.lang=ALL-UNNAMED | ||
--add-opens=java.base/java.lang.invoke=ALL-UNNAMED | ||
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED | ||
--add-opens=java.base/java.io=ALL-UNNAMED | ||
--add-opens=java.base/java.net=ALL-UNNAMED | ||
--add-opens=java.base/java.nio=ALL-UNNAMED | ||
--add-opens=java.base/java.util=ALL-UNNAMED | ||
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED | ||
--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | ||
--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED | ||
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-opens=java.base/sun.nio.cs=ALL-UNNAMED | ||
--add-opens=java.base/sun.security.action=ALL-UNNAMED | ||
--add-opens=java.base/sun.util.calendar=ALL-UNNAMED | ||
-Djdk.reflect.useDirectMethodHandle=false | ||
-Dio.netty.tryReflectionSetAccessible=true |
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
Binary file modified
BIN
-6.18 MB
(0.055%)
gdal/src/test/resources/vlm/aspect-tiled-bilinear-linux.tif
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.