Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timescaledb-postgis:16 for ARM64 not working #21

Open
everesio opened this issue Feb 16, 2024 · 2 comments
Open

timescaledb-postgis:16 for ARM64 not working #21

everesio opened this issue Feb 16, 2024 · 2 comments
Labels
on-hold on-hold waiting-for-upstream-updates-changes Waiting for Upstream updates or changes

Comments

@everesio
Copy link

Docker manifest inspect provides an image availability for ARM64 arch.
However when run on "amzn2.aarch64" / m6g, the initdb returns exec format error, so it is probably built for AMD not ARM.

initdb Error: error while creating the PostgreSQL instance: fork/exec /usr/lib/postgresql/16/bin/initdb: exec format error 
➜  ~ docker manifest inspect ghcr.io/imusmanmalik/timescaledb-postgis:16  
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.oci.image.index.v1+json",
   "manifests": [
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 4666,
         "digest": "sha256:8da5df8587c1612e016efc47e2c21f16cb238f3b4d1f6a726272575fd74bda2c",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 4666,
         "digest": "sha256:df5eda79879c7a84373388ae0a3ef2bdfb0f4de7f6230c7d55acc3614035f68f",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 567,
         "digest": "sha256:be01511e6509f95cbdcd199c3fd15945b56461a497f80b3dc110e1be30d4744f",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      },
      {
         "mediaType": "application/vnd.oci.image.manifest.v1+json",
         "size": 567,
         "digest": "sha256:9b70bfd272398703c8c74de819a9efc245d4f32adcb861ff3b2444824017599c",
         "platform": {
            "architecture": "unknown",
            "os": "unknown"
         }
      }
   ]
}
@imusmanmalik
Copy link
Owner

@everesio Thanks for pointing this out.

Do you want to file a PR for this ?

@imusmanmalik
Copy link
Owner

this is not possible for now since the postgis images aren't available for arm64 here

postgis/docker-postgis#216 (comment)

Guess that we need to wait a little longer for arm64 support

@imusmanmalik imusmanmalik added on-hold on-hold waiting-for-upstream-updates-changes Waiting for Upstream updates or changes labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold on-hold waiting-for-upstream-updates-changes Waiting for Upstream updates or changes
Projects
None yet
Development

No branches or pull requests

2 participants