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

clamav image is amd64 only. Will an aarch64 version be released? #512

Closed
millerthegorilla opened this issue Mar 20, 2022 · 4 comments
Closed

Comments

@millerthegorilla
Copy link

Describe the bug

When starting the clamav container using systemd, an error is produced stating ```{"msg":"exec container process /init: Exec format error","level":"error","time":"2022-03-20T18:00:00.000838151Z"}'''

Tinternet reckons that it is a byte order mark error, which makes sense, as it has probably been compiled on a different architecture. I am running coreos on a pi4, and am unable currently to mount the image to examine it to be certain. Answer one explains how to examine the file to see the bom problem.
https://stackoverflow.com/questions/42494853/standard-init-linux-go178-exec-user-process-caused-exec-format-error

How to reproduce the problem

start a clamav image using podman or systemctl on a coreos pi4b.

@millerthegorilla
Copy link
Author

Ok, I was able to examine the file and it has no BOM on the init script. It does use tini though, so I wonder if that is what is causing the issue.
Are there any plans to create a clamav container specifically for aarc64?

@millerthegorilla
Copy link
Author

Ok, so tini has different versions for different architectures. I am guessing that the clamav container will only work with amd64.
I guess I will have to try creating my own image until the clamav team see fit to release one specifically for aarch64.

@millerthegorilla millerthegorilla changed the title clamav image on dockerhub has bom issue with aarch64 clamav image is amd64 only. Will an aarch64 version be released? Mar 21, 2022
@millerthegorilla
Copy link
Author

https://sdeoras.medium.com/special-case-of-building-multi-arch-container-images-distroless-go-and-podman-ad3e2ba0ccea

@val-ms
Copy link
Contributor

val-ms commented Apr 12, 2022

Yes, I would like to build them as multi arch images. Just need to find time to make the required changes.

This is a duplicate of #482

@val-ms val-ms closed this as completed Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants