taviso / 123elf

A native port of Lotus 1-2-3 to Linux.
1.16k stars 59 forks source link

Docker compose and Dockerfile #120

Open rusq opened 1 year ago

rusq commented 1 year ago

Hi! Thanks for your hard work on reviving this timeless masterpiece and enabling it to be executed on modern systems.

Please consider this PR, it's simpler than #10 but it gets the things done.

The output docker image is around 1GB in size, I did try to use it as a stage and create another slim image and copy only binary files in there, but I must be missing something, as it refuses to run in it. If you have any suggestions, I'd be keen to hear. What I did was:

  1. Essentially build everything as it is now in Dockerfile
  2. Add another FROM debian:....-slim, and COPY /lib32 and /usr/local/ directories

But that was obviosly not enough. I suspect that it's not possible to easily get away without actually building the binutils32, and that incurs apt-get update with all it's shenanigans, such as bloated resulting image size, which I wanted to avoid in the first place.