-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
sshd container image for ARM64 #5482
Comments
Hey @jerrinot, thanks for raising the issue. Have a look at this repo: Would be great if you can look into providing an ARM64 build 👍 |
hi @kiview, thanks for a quick response! I actually checked the repo. There is just a Dockerfile definition, no script to actually build a container image out of it. For multiplatform images, a Dockerfile is usually intact. You just build it differently. I could try to contribute a GitHub Action file to automate it if you are interested in that. |
Something like this should be sufficient if you are OK with just the This looks like a pretty good intro how to do it properly: https://dev.to/cloudx/multi-arch-docker-images-the-easy-way-with-github-actions-4k54 |
We are using GHA to build the multi-arch image in the case of Ryuk: |
that looks good. let me know if I can help with that in any way. |
@jerrinot your contribution is very welcome. I think it make sense to add a GHA to https://github.com/testcontainers/sshd-docker |
@eddumelendez: I sent a pull request |
new version should be updated here |
it's also hardcoded in the docs:
|
The image is published now 🎉 @jerrinot please give it a try (with the mentioned configuration property) |
@bsideup thanks! I did a quick test an there appears to be a problem:
Chances are I have something wrong in my test setup. I will investigate it later. |
ok, even the I will investigate it further, but as of now I see 2 options: |
@bsideup I think you are using the Glassfish fork, arent you? It's almost working. Except the test where it's binding to a port 80. I suspect it's due a newer ssh version not allowing to forward a privileged port (by default?) To be continued. edit: apparently, I did something wrong before. now, the tests are failing. |
Hello,
I'm using
withAccessToHost()
andTestcontainers.exposeHostPorts()
and I realized the sshd container this functionality depends on is built for Intel only. Would it be possible to create also ARM64 build? I see Ryuk now has ARM builds too. I could help with that, but I don't know how exactly is the sshd container image build. Thank you for this awesome library!The text was updated successfully, but these errors were encountered: