Comments (3)
Just jumping in here with some pointers to what needs to be done, but don't have the time to do the work...
Currently, the build script has support for 3 versions of Docker (18
, 19
, 20
):
docker-geoserver/custom_build.sh
Lines 144 to 218 in 999c0ba
Moby BuildKit and docker buildx
, which together allow seamless cross-platform builds, are enabled by default only as of Docker v23.
However, using the DOCKER_BUILDKIT=1
env var, one can opt into BuildKit even with earlier versions of Docker. It seems like, as of Docker Engine 18.06.0-ce
, released on 2018-07-18, one can opt into experimental BuildKit.
TLDR: Theoretically, building linux/arm64
images should be possible even with the current setup, with the addition of --platform linux/amd64,linux/arm64
and DOCKER_BUILDKIT=1
.
from docker-geoserver.
Hi @spinnaker1
Thanks for reporting this. It would be nice to have arm64 builds as well. I have not looked into this yet
If you want to have a go at it, the builds are executed by the docker hub itself based on these hook scripts in the root of the repository
https://github.com/geosolutions-it/docker-geoserver/tree/master/hooks
@derhuerst the custom_build script is a helper script for end users to make it easier for them to create a custom image but is not used by the CI in docker hub to build and push the images
To add arm builds the build and push script need an update
here: https://github.com/geosolutions-it/docker-geoserver/blob/master/hooks/build#L28
and
here: https://github.com/geosolutions-it/docker-geoserver/blob/master/hooks/build#L51
with an extra build command and dedicated tag for ARM
and then push commands to be added here: https://github.com/geosolutions-it/docker-geoserver/blob/master/hooks/push#L5-L21 to push the new tags
Finally the test part with the new tags
https://github.com/geosolutions-it/docker-geoserver/blob/master/hooks/test#L3-L11
from docker-geoserver.
with an extra build command and dedicated tag for ARM
I think having one tag with both linux/amd64
& linux/arm64
support would provide more value. (But this should not be a problem if the Docker Hub build environment supports docker buildx
, which I assume it does.)
With two separate tags, it is not possible to e.g. write architecture-agnostic Compose files.
from docker-geoserver.
Related Issues (20)
- Matching tags or releases on github and dockerhub HOT 4
- Docker Hub autobuilds dependency issue HOT 6
- Docker build fails due to failed download HOT 2
- Is there a simple way to enable CORS with this image? HOT 3
- add source code version information to the docker images HOT 7
- Geoerver not getting UP while deploying as StatefulSet in Kubernetes HOT 6
- Cannot customize the admin password HOT 4
- Dependencies should be updated HOT 9
- Build of docker image for GeoServer 2.22.4 is failing HOT 4
- NGINX configuration - `proxy_temp_file_write_size` must be equal or higher than `proxy_buffer_size` HOT 1
- Windows `CR/LF` line endings in .sh files HOT 1
- Docker buildkit enabled prevents download of `openjdk` HOT 6
- Issue downloading libjpegturbo source files
- Feature Request: Support EXTRA_GEOSERVER_OPTS HOT 3
- Publish image for GeoServer version 2.24.2 HOT 1
- Docker image gs-stable-2.24.x does not start due to missing GeoDBDialect HOT 5
- Publish 2.25.0 / 2.24.3 on docker-hub? HOT 3
- There is a typo in a rm command HOT 4
- Doesn't seem to work on Mac Monerey HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-geoserver.