Open lag-linaro opened 5 years ago
This PR follows on from @tianon's review of the following Docker Library - Official Images PR:
This is a great start, but I'm still failing to see a compelling reason for any of these architectures to need an explicit separate Dockerfile
, as I noted in https://github.com/docker-library/official-images/pull/4768#issuecomment-415815016:
I'm looking over these, and I'm really not seeing a very compelling reason for these to be completely separate
Dockerfile
s -- can you elaborate on the reasoning behind that choice?
To clarify a bit, this is going to cause the same tag to be drastically different on different architectures, which no obvious indication of that fact for users. If there's a desire to support both
ibmjava
-based andalpine
-based containers concurrently, I think it makes a lot more sense to make it obvious to users that's happening.
It looks like PPC is the black sheep here, since it uses a bespoke Java base ppc64le/ibmjava
.
Without knowing what ibmjava
is it's hard to answer why we need a PPC specific one.
Maybe one of the maintainers could fill us in?
Hopefully the reasons are historical and we can move to something more generic which already supports multi-arch.
It's been 6 weeks since I submitted this PR.
Any chance we can get some feedback from the Maintainers please? @luigidellaquila @robfrank @wolf4ood
@tianon is the odd-ball PPC directory a firm blocker? We can just omit it from the Library file.
Any chance we can get some feedback from the Maintainers please? @luigidellaquila @robfrank @wolf4ood
Any update guys?
It's been a while. Anyone care to comment please?
Rebased and satisfied @tianon's concerns.
It should now be possible for AArch64 support to be added as an Official Image.
I would like to see a docker image for AArch64. Is there any progress to report on this work?
Rebased and re-pushed.
Would someone be kind enough to look at this please?
@tianon does this tick your boxes now?
@luigidellaquila how does it look to you?
Very disappointed at the lack of response with this. I would hate to see hard work go to waste.
It would be good for me to see this work in the main tree. Can this patch be landed?
is there any chance of this PR to be landed in main tree?
Hi @lag-linaro
I think this PR is outdated, we reviewed all the docker images so now it should be architecture-agnostic
If you have a chance, please double-check and let me know if I can close it
Thanks
Luigi
@luigidellaquila , Thanks for your reply. A new PR #60 has been raised on top of #53 and updated openjdk-slim version for aarch64 as well. So please refer #60
@luigidellaquila Keeping reference of your discussion, please suggest, should we create a new directory in /releases directory with a new version ( 3.1.5 ) or update the existing 3.1.4? Will raise PR according to your suggestion.
@luigidellaquila could you please share your thoughts on this?
Hi @odidev
I'm afraid I don't get the point here... The new Docker images (see https://github.com/orientechnologies/orientdb-docker/tree/master/release) are already multi-arch and based on the new guidelines...
Thanks
Luigi
Thanks, @luigidellaquila for the quick response as per your suggestion I have tried building the 3.17 dockerfile on the arm64 platform present at https://github.com/orientechnologies/orientdb-docker/tree/master/release/3.1.x.
I am getting the below error message while using the command " _docker build -t imagename . "
Step 1/15 : FROM openjdk:8-jdk-slim
8-jdk-slim: Pulling from library/openjdk
no matching manifest for linux/arm64/v8 in the manifest list entries
Also, I have checked the image present at dockerhub through the docker inspect command getting the following result:
"Architecture": "amd64",
"Os": "linux",
"Size": 351899357,
"VirtualSize": 351899357,
Seems this image might be build using multiarch, but still it is neither published at dockerhub for arm64 nor having support in docker file for arm64.
Additionally, looks like the base image openjdk:8-jdk-slim being used in the docker file doesn't have arm64 support as well.
Please share your thoughts on this.