Skip to content

Commit

Permalink
Merge pull request #48 from leojonathanoh/enhancement/add-ts-in-all-v…
Browse files Browse the repository at this point in the history
…ariants

Enhancement: Add `ts` in all variants
  • Loading branch information
leojonathanoh authored Oct 5, 2024
2 parents 11ccdca + 383c26d commit fc00215
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Dockerized [`webhook`](https://github.com/adnanh/webhook) with useful tools.
| `:2.7.0-libvirt-7` | [View](variants/2.7.0-libvirt-7) |
| `:2.7.0-libvirt-6` | [View](variants/2.7.0-libvirt-6) |

- All variants contain [`ts`](https://viric.name/soft/ts/) to help run background tasks.

## Usage

```sh
Expand Down
4 changes: 4 additions & 0 deletions generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ RUN webhook --version
RUN apk add --no-cache ca-certificates
# Install Task Spooler
RUN apk add --no-cache ts
"@

$VARIANT['_metadata']['components'] | % {
Expand Down
2 changes: 2 additions & 0 deletions generate/templates/README.md.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ $(
}
}) -join ''
)
- All variants contain [``ts``](https://viric.name/soft/ts/) to help run background tasks.
"@

Expand Down
4 changes: 4 additions & 0 deletions variants/2.7.0-curl-git-jq-sops-ssh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache curl
RUN apk add --no-cache git
RUN apk add --no-cache jq
Expand Down
4 changes: 4 additions & 0 deletions variants/2.7.0-libvirt-6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache libvirt-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
Expand Down
4 changes: 4 additions & 0 deletions variants/2.7.0-libvirt-7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache libvirt-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
Expand Down
4 changes: 4 additions & 0 deletions variants/2.7.0-libvirt-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache libvirt-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
Expand Down
4 changes: 4 additions & 0 deletions variants/2.7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh

Expand Down
4 changes: 4 additions & 0 deletions variants/2.8.1-curl-git-jq-sops-ssh/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache curl
RUN apk add --no-cache git
RUN apk add --no-cache jq
Expand Down
4 changes: 4 additions & 0 deletions variants/2.8.1-libvirt-6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache libvirt-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
Expand Down
4 changes: 4 additions & 0 deletions variants/2.8.1-libvirt-7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache libvirt-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
Expand Down
4 changes: 4 additions & 0 deletions variants/2.8.1-libvirt-8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

RUN apk add --no-cache libvirt-client
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh
Expand Down
4 changes: 4 additions & 0 deletions variants/2.8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY --from=builder /usr/local/bin/webhook /usr/local/bin/webhook
RUN webhook --version

RUN apk add --no-cache ca-certificates

# Install Task Spooler
RUN apk add --no-cache ts

COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x docker-entrypoint.sh

Expand Down

0 comments on commit fc00215

Please sign in to comment.