Automated update service for Scoop buckets (https://scoop.sh)
500K+
This image allows for automated updates of Scoop buckets.
bin\bucket-updater.ps1 to your Bucket (see: bucket-updater.ps1)docker-compose.yml on your Docker Host (see: docker-compose.yml)docker-compose upThe following Environment Variables are required for pushing changes to GitHub.
BUCKET=<user>/<repo> # GitHub Repo (e.g. lukesampson/scoop)
GIT_USERNAME= # For "git config user.name"
GIT_EMAIL= # For "git config user.email"
# Optional:
SNOWFLAKES=curl,brotli # Programs that should always be updated (comma separated)
CRONTAB=0 * * * * # Change cron execution times (default: every hour)
METHOD=push # push = pushs to $BUCKET (default) / request = pull-request to $UPSTREAM
UPSTREAM=<user>/<repo> # Upstream GitHub Repo for Pull-Request creating
SCOOP_DEBUG=true # Enables Scoop debug output
bin\bucket-updater.ps1param(
# overwrite upstream param
[String]$upstream = "<user>/<repo>:master"
)
if(!$env:SCOOP_HOME) { $env:SCOOP_HOME = resolve-path (split-path (split-path (scoop which scoop))) }
$autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1"
$dir = "$psscriptroot/.." # checks the parent dir
iex -command "$autopr -dir $dir -upstream $upstream $($args |% { "$_ " })"
docker-compose.ymlversion: "3"
services:
bucket:
image: r15ch13/excavator:latest
deploy:
mode: global # creates only one container
volumes:
- ssh:/root/.ssh
- logs:/root/log
environment:
GIT_USERNAME: "Max Muster"
GIT_EMAIL: "[email protected]"
BUCKET: "maxmuster/my-bucket"
volumes:
ssh:
logs:
Current logs can be found at https://scoop.r15.ch
Content type
Image
Digest
Size
186.8 MB
Last updated
almost 5 years ago
docker pull r15ch13/excavator