Files
git.taskfile.build/image

layout, permalink
layout permalink
layouts/base.njk /image/

taskfile.build

Docker pulls

The taskfile.build Docker image runs any project.

Source: https://git.taskfile.build/src/branch/main/image

Usage

Setup environment variables:

export GIT_URL="https://git.taskfile.build" # required
export TASK_COMMANDS="install,build" # required if task file exists
export CADDY_ROOT="_site" # default is path to the repo

Run the tasfile.buld image:

run() {
    echo "Open http://localhost:8080 in your browser"
    docker rm -f taskfile-build
    docker run -p 8080:80 -d \
        --name taskfile-build \
        -e GIT_URL="https://git.taskfile.build" \
        -e TASK_COMMANDS="install,build-11ty" \
        -e CADDY_ROOT="_site" \
        -v taskfile-build:/app \
        janikv