lllllllillllllillll / DweebUI

DweebUI is a WebUI for managing your containers. Simple setup, a dynamically updating dashboard, and a multi-user permission system.
https://www.dweebui.com/
MIT License
801 stars 40 forks source link

Dockerfile updates and Fixes to CI process #17

Closed gaby closed 1 year ago

gaby commented 1 year ago

@lllllllillllllillll This PR fixes the CI issues introduced in #16

gaby commented 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

gaby commented 1 year ago

The last 2 major releases of Node with Debian only support arm/v8 and arm/v7, arm/v6 was deprecated several years ago.

gaby commented 1 year 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

gaby commented 1 year ago

@lllllllillllllillll They still there, the diff doesn't show them. See file here: https://github.com/gaby/DweebUI/blob/docker-fixes/Dockerfile

gaby commented 1 year ago

@lllllllillllllillll You have to enable Package Registry in this repo. Let me find the instructions for that.

gaby commented 1 year ago

@lllllllillllllillll Go here https://github.com/lllllllillllllillll/DweebUI/settings/actions at the bottom change the workflow permissions to this:

image

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

lllllllillllllillll commented 1 year ago

@gaby

Success! Thank you.

gaby commented 1 year ago

@lllllllillllllillll On the packages page, on the right side it says "Package Setting". Allow public to see them, by default they are hidden.

lllllllillllllillll commented 1 year ago

You should see the newest built package now.

gaby commented 1 year ago

You should see the newest built package now.

I do! Awesome! 💪💪💪

lllllllillllllillll commented 1 year ago

I think I need to enable dependabot alerts as well now.

gaby commented 1 year ago

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

lllllllillllllillll commented 1 year ago

I've enabled dependabot alerts, but I'm not sure how to confirm it's using the dependabot.yml file.

gaby commented 1 year ago

@lllllllillllllillll Give it like 10mins, all you need to do is click "enable" in the dependabot section of the project settings

gaby commented 1 year ago

Under https://github.com/lllllllillllllillll/DweebUI/settings/security_analysis

Enable the 3 options that say "Dependabot"

lllllllillllllillll commented 1 year ago

Yep, enabled. I'll just wait to see it run.