hackthedev / dcts-shipping

A Chat Platform like Discord but self-hostable like TeamSpeak
https://dcts.chat
GNU Affero General Public License v3.0
147 stars 10 forks source link

Add arm64 support for docker image #29

Open Ejmathewp opened 3 months ago

Ejmathewp commented 3 months ago

It would be great to enable multi-platform builds in your docker flow to allow running on arm64 (oracle free tier VPS for example).

hackthedev commented 3 months ago

Sounds interesting i will check it out!

driftywinds commented 3 months ago

Would like to bump this! This way I can host it on my pi 5

t2vee commented 3 months ago

@driftywinds Jeu @Ejmathewp
I have implemented a few test builds of arm packages for dcts in my forked repository. Unfortunately I do not have access to a arm device to test these builds. Could one of you try it and see how it goes? It would be greatly appreciated 😊

you can find the image tags here

once validated i'll make a pull request into the main repo

Ejmathewp commented 3 months ago

Definitely! I might not be able to until Monday, but I'll spin it to and give it a try when I have some spare time.

driftywinds commented 3 months ago

@driftywinds Jeu @Ejmathewp I have implemented a few test builds of arm packages for dcts in my forked repository. Unfortunately I do not have access to a arm device to test these builds. Could one of you try it and see how it goes? It would be greatly appreciated 😊

you can find the image tags here

once validated i'll make a pull request into the main repo

Will test and let you know!

driftywinds commented 3 months ago

@driftywinds Jeu @Ejmathewp I have implemented a few test builds of arm packages for dcts in my forked repository. Unfortunately I do not have access to a arm device to test these builds. Could one of you try it and see how it goes? It would be greatly appreciated 😊

you can find the image tags here

once validated i'll make a pull request into the main repo

image

This image still gives me an exec format error

Ejmathewp commented 2 months ago

Hmm, I don't get a format error, but I get: exec /usr/local/bin/docker-entrypoint.sh: no such file or directory

@driftywinds did you use the arm64 tag? docker pull ghcr.io/t2vee/dcts-shipping:latest@sha256:ad6486fc357ab61809ebe05a2887302ecd7360ac83415a10c012ba18e13a8358

driftywinds commented 2 months ago

Hmm, I don't get a format error, but I get: exec /usr/local/bin/docker-entrypoint.sh: no such file or directory

@driftywinds did you use the arm64 tag? docker pull ghcr.io/t2vee/dcts-shipping:latest@sha256:ad6486fc357ab61809ebe05a2887302ecd7360ac83415a10c012ba18e13a8358

Yes, I for sure used that very tag

t2vee commented 2 months ago

@driftywinds @Ejmathewp Thanks for testing those images! Clearly there is more work to do than I thought so ill be working on arm compatibility for the near future

Cosmicoppai commented 2 months ago

@t2vee can you share the Dockerfile and command used to build the image.

driftywinds commented 2 months ago

Any updates on the arm64 docker image?

hackthedev commented 2 days ago

@t2vee if you have time @driftywinds would need a bit of help