Closed gaby closed 1 year ago
I think what's happening is that some of your dependencies are made to work with glibc, and in Alpine they have to be recompiled. The base image should be 20-slim
to avoid that issue
The last 2 major releases of Node with Debian only support arm/v8 and arm/v7, arm/v6 was deprecated several years ago.
Using arm/v7
won't work. It uses too many resources to compile the code with those dependencies using gyp
and alpine. Build with amd64, arm/v8 work fast within minutes
@lllllllillllllillll They still there, the diff doesn't show them. See file here: https://github.com/gaby/DweebUI/blob/docker-fixes/Dockerfile
@lllllllillllllillll You have to enable Package Registry
in this repo. Let me find the instructions for that.
@lllllllillllllillll Go here https://github.com/lllllllillllllillll/DweebUI/settings/actions at the bottom change the workflow permissions to this:
Then re-run the failed workflow from here: https://github.com/lllllllillllllillll/DweebUI/actions/runs/6922322719 and it should publish the image as: ghcr.io/lllllllillllllillll/DweebUI:main
@gaby
Success! Thank you.
@lllllllillllllillll On the packages page, on the right side it says "Package Setting". Allow public to see them, by default they are hidden.
You should see the newest built package now.
You should see the newest built package now.
I do! Awesome! 💪💪💪
I think I need to enable dependabot alerts as well now.
I think I need to enable dependabot alerts as well now.
Yes, they are disable by default. Haha 😂 you will get quite a few PR's few minutes after enabling them
I've enabled dependabot alerts, but I'm not sure how to confirm it's using the dependabot.yml
file.
@lllllllillllllillll Give it like 10mins, all you need to do is click "enable" in the dependabot section of the project settings
Under https://github.com/lllllllillllllillll/DweebUI/settings/security_analysis
Enable the 3 options that say "Dependabot"
Yep, enabled. I'll just wait to see it run.
20-alpine
, the20.0.0-alpine
hasn't been updated in 8 months.dependabot
to track updatestarget: release
from CI file. This is a carry-over from my re-using my CI files@lllllllillllllillll This PR fixes the CI issues introduced in #16