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

Feature/multiarch docker #520

Merged
merged 4 commits into from
Oct 15, 2023
Merged

Feature/multiarch docker #520

merged 4 commits into from
Oct 15, 2023

Conversation

cognitivegears
Copy link
Collaborator

I made a few improvements to the Docker build process, including:

  • Upgrading to node v20
  • Upgraded the qemu and buildx action versions
  • Reordered some of the Dockerfile to avoid snapshot changes on each code change
  • Updated the image to use bookworm instead of buster

These changes appear to also have fixed the issue with networking on the build along the way. See build (https://github.com/NuSkooler/enigma-bbs/actions/runs/6526380735) for a successful run.

Note I have not tried running these docker containers on real hardware yet, this needs to be tested.

@NuSkooler NuSkooler merged commit 6aa0c86 into master Oct 15, 2023
3 checks passed
&& pm2 start main.js \
&& mkdir -p /enigma-bbs-pre/art \
&& mkdir /enigma-bbs-pre/mods \
&& mkdir /enigma-bbs-pre/config \
&& cp -rp art/* ../enigma-bbs-pre/art/ \
&& cp -rp mods/* ../enigma-bbs-pre/mods/ \
&& cp -rp config/* ../enigma-bbs-pre/config/ \
&& apt-get remove build-essential python python3 libssl-dev git curl -y \
&& apt-get remove build-essential python3 libssl-dev git curl -y \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe consider a multi-stage build/runtime, as this doesn't decrease the actual download size for image slices.

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

Successfully merging this pull request may close these issues.

3 participants