forked from maaximal/jottadocker
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I'm interested in this project, but I'd want jotta-cli and dependencies to automatically update. This should likely be in the :latest image, and other versions of the docker image could be pinned to jotta-cli versions, like i.e. :0.16.126924. I've come up with a couple of different ways to get this done, but I'm unsure of which way that would be best.
- Build the image like you currently do, and add an
apt-get update && apt-get upgrade -yto theentrypoint.sh. This makes it so the default image uses an old version ofjotta-cli, but then upgrades at boot, which seems like a weird implementation to me but probably the easiest. - Move both the dependency and
jotta-clidownload steps from the build process over to theentrypoint.sh, sojotta-cligets re-downloaded every time you start the container. This would probably affect the boot times of the container, but I don't think it would be that bad. - Create a GitHub action to check for a new
jotta-cliversion, then bump the version, build the image, and push it to docker.io. This would probably be the best implementation, and I know that it would work, because I'm currently running a GitHub action to push one of my images to dockerhub.
Any input would be greatly appreciated :)
Metadata
Metadata
Assignees
Labels
No labels