-
Notifications
You must be signed in to change notification settings - Fork 15
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
aarch64 docker images missing #59
Comments
Hi Klavs
That's a typo, the package is called I didn't publish an amd64 image either since a long time. First because I'm not aware of anyone who uses it, and mainly because I think this program is not appropriate to be distributed with Docker, as long as we can't split it up into smaller components. You should not mix the Dockerfiles from this and the docker-sql-ledger repo. The one in this repo is for development purposes and only creates a web server that runs SQL-Ledger, with code on the local machine and without the additional components. If you need a complete system, you have to start from As soon as you start to create PDFs, you will not be happy with a Raspi or a Raspi-like platform. PDFs are generated with LaTeX that not only consumes most of the space in the image, but needs a lot of computing power. |
the arm architecture has become quite useable for such stuff.. We use it for kubernetes controllers, and the orangepi5 http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_5 - is quite capable 8-core BigLittle system :) - and uses very little power, compared to intel/amd cpus - and it runs latex without issues for PDF generation nowadays :) (this system has 16gb memory) We run everything we have in Kubernetes - which means inside docker. You can easily run "old style apps" - like that - and run postgresql and sql-ledger seperately - it won't know the difference - as long as you've correctly ensured the "specific folders" that it needs to write to - are in fact managed by persistent volumes (ie. data is kept) - or in docker terms - that its got a volume attached there. You seem to be maintaining your improved sql-ledger version regularly - so I wanted to try and run that.. and preferrably in docker.. but I could spinup an lxc.. they're just more hassle to maintain. |
Yes, hits repo is regularly updated. My company and some of our customers use this software in production. I see I have to test some of the new arm devices (when I have time for it). I know that it's possible to run it in Docker and I already use some more complete images for special development purposes. What I don't like is that this image is bigger than 1 GB and if it runs on a server that is publicly accessible you have to replace it every few days to get the new security updates. The question is if your really need an arm image or if it would be enough (at least for the beginning) if I update the Dockerfiles and you use them to create your own images. |
It would be more than enough with just updated dockerfiles - and I'll gladly share an aarch64build if you'd like to help others who can't just build themselves..
I must admit though, that I have a 500gb NVMe attached to my orangepi 5 - so I don't care about a 1gb image :) |
backup and recovery is soo much easier in docker (and you know you don't forget anything as its easier to test as well) - and as we run all our stuff in k8s - it means we can have ONE set of backup policies for postgresql - and every pg instance in any cluster we have - is managed by the same rules and recovery methods and pushed to central s3 storage (on our own servers). Its just so damn easy to do operations once you have that :) |
What needs so much space are just Debian packages. I've tried to split the image into more layers, in the hope that only some of them have to be replaced, with no success. |
There is an updated image on Dockerhub now and a new Dockerfile at https://github.com/Tekki/docker-sql-ledger/blob/master/main/Dockerfile. Can you try to build an aarch64 image with it? |
@Tekki I can now built fine - and when docker-compose tries to start sl-app -i t fails with: so its not completely happy :) |
I only find this file mentined in |
Are there any updates on this? I think I need to know more details about what exactly you are doing. |
I'm sorry.. kids still on vacation (at home) - and trying to work alongside that and a busy period.. :) |
Its very odd.. I copy pasted your docker-compose.yml - and replaced sql-ledger-test:0.14 image with my own build one, that I build from this repo - standing in docker folder and running: docker build . -t tekkie-sql-ledger:aarch64 (and it builds fine). |
$ docker run tekki-sql-ledger:aarch64 |
since your docker image has no CMD nor entrypoint set - it must inherit the one from httpd:bookworm - and it runs whats defined there.. (going to find that :) ? |
docker inspect says entrypoint is null.. and I see no CMD in docker inspect output.. so what does it actually run? |
the WorkingDir you set in your docker-compose.yml is empty.. |
Sorry for the late answer. I don't have much time either. |
If you add this to the bottom of your docker-compose file - it starts up:
|
and sql-ledger Version 3.2.12 - responds on the host under /sql-ledger/ yay |
Works with a proper docker volume cleanup as well - from the repo you pointed to.. |
Hi,
I'm trying to get this to run on my orangepi (same as raspberry pi) - aarch64 architecture - but you only release amd64 builds unfortunately.
Trying to do docker build from this repo for some reason (I have yet to find) fails on my aarch64 ubuntu install:
The text was updated successfully, but these errors were encountered: