Skip to content

Commit 293d95d

Browse files
committed
adding pingreporter, add a couple tools to toolbox
1 parent c444c23 commit 293d95d

File tree

5 files changed

+39
-4
lines changed

5 files changed

+39
-4
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
inputs:
1111
targets:
1212
description: comma-separated list of container names which should be rebuilt
13-
default: ""
13+
default: ''
1414
required: false
1515
type: string
1616

@@ -48,7 +48,7 @@ jobs:
4848
- compose_sort
4949
- conex-helper
5050
- datasette
51-
- "false"
51+
- 'false'
5252
- fedora-spe
5353
- firefox
5454
- ghlatest
@@ -66,6 +66,7 @@ jobs:
6666
- ods_conv
6767
- pdf
6868
- pgformatter
69+
- pingreporter
6970
- proxyport
7071
- pwgen
7172
- pygmentize
@@ -75,7 +76,7 @@ jobs:
7576
- sql-formatter
7677
- toolbox
7778
- toybox
78-
- "true"
79+
- 'true'
7980
- update_requirements
8081
- upx
8182
- vueenv

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Name | Description | Dockerfile Link | Image Link
2727
[chromium](chromium) | [`debian:unstable-slim`](https://hub.docker.com/_/debian/)-based dockerization of the Google Chromium web browser | [Dockerfile](chromium/Dockerfile) | [backplane/chromium](https://hub.docker.com/r/backplane/chromium)
2828
[compose_sort](compose_sort) | [`alpine:edge`](https://hub.docker.com/_/alpine/)-based dockerization of `compose_sort`, a CLI utility for sorting docker-compose files | [Dockerfile](compose_sort/Dockerfile) | [backplane/compose_sort](https://hub.docker.com/r/backplane/compose_sort)
2929
[conex-helper](conex-helper) | [`python:3-alpine`](https://hub.docker.com/_/python/)-based dockerization of a utility program which helps manage the `backplane/conex` github repo | [Dockerfile](conex-helper/Dockerfile) | [backplane/conex-helper](https://hub.docker.com/r/backplane/conex-helper)
30-
[datasette](datasette) | [uv:python3-alpine](https://github.com/astral-sh/uv/pkgs/container/uv)-based dockerization of [datasette](https://docs.datasette.io/en/stable/), the "open source multi-tool for exploring and publishing data". | [Dockerfile](datasette/Dockerfile) | [backplane/datasette](https://hub.docker.com/r/backplane/datasette)
30+
[datasette](datasette) | [uv:alpine](https://github.com/astral-sh/uv/pkgs/container/uv)-based image for [datasette](https://docs.datasette.io/en/stable/), the "open source multi-tool for exploring and publishing data" | [Dockerfile](datasette/Dockerfile) | [backplane/datasette](https://hub.docker.com/r/backplane/datasette)
3131
[false](false) | [`scratch`](https://hub.docker.com/_/scratch/)-based single-binary no-op container that always exits unsuccessfully | [Dockerfile](false/Dockerfile) | [backplane/false](https://hub.docker.com/r/backplane/false)
3232
[fedora-spe](fedora-spe) | [`fedora:latest`](https://hub.docker.com/_/fedora)-based image with the `@server-product-environment` package group installed. | [Dockerfile](fedora-spe/Dockerfile) | [backplane/fedora-spe](https://hub.docker.com/r/backplane/fedora-spe)
3333
[firefox](firefox) | [`debian:unstable-slim`](https://hub.docker.com/_/debian/)-based dockerization of the Firefox web browser | [Dockerfile](firefox/Dockerfile) | [backplane/firefox](https://hub.docker.com/r/backplane/firefox)
@@ -46,6 +46,7 @@ Name | Description | Dockerfile Link | Image Link
4646
[ods_conv](ods_conv) | [`python:3-alpine`](https://hub.docker.com/_/python/)-based dockerization of a utility that converts ODS documents into other formats (currently JSON and CSV) | [Dockerfile](ods_conv/Dockerfile) | [backplane/ods_conv](https://hub.docker.com/r/backplane/ods_conv)
4747
[pdf](pdf) | [`alpine:edge`](https://hub.docker.com/_/alpine/)-based dockerization of [poppler-utils](https://pkgs.alpinelinux.org/package/edge/main/x86_64/poppler-utils) with a thin wrapper. | [Dockerfile](pdf/Dockerfile) | [backplane/pdf](https://hub.docker.com/r/backplane/pdf)
4848
[pgformatter](pgformatter) | [`perl:5-slim`](https://hub.docker.com/_/perl)-based dockerization of [`pgFormatter`](https://github.com/darold/pgFormatter) the PostgreSQL SQL syntax beautifier | [Dockerfile](pgformatter/Dockerfile) | [backplane/pgformatter](https://hub.docker.com/r/backplane/pgformatter)
49+
[pingreporter](pingreporter) | [`scratch`](https://hub.docker.com/_/scratch/)-based [pingreporter](https://codeberg.org/backplane/pingreporter), the "tool that pings a target host and reports the results to an HTTP endpoint" | [Dockerfile](pingreporter/Dockerfile) | [backplane/pingreporter](https://hub.docker.com/r/backplane/pingreporter)
4950
[proxyport](proxyport) | [`alpine:edge`](https://hub.docker.com/_/alpine/)-based sidecar container for forwarding ports to remote hosts | [Dockerfile](proxyport/Dockerfile) | [backplane/proxyport](https://hub.docker.com/r/backplane/proxyport)
5051
[pwgen](pwgen) | [`alpine:edge`](https://hub.docker.com/_/alpine/)-based dockerization of [pwgen](https://github.com/tytso/pwgen) -- the password generator written by [Theodore Ts'o](https://github.com/tytso) | [Dockerfile](pwgen/Dockerfile) | [backplane/pwgen](https://hub.docker.com/r/backplane/pwgen)
5152
[pygmentize](pygmentize) | [`alpine:edge`](https://hub.docker.com/_/alpine/)-based dockerization of the [pygmentize](https://pygments.org/docs/cmdline/) utility from the [Pygments](https://pygments.org/) generic syntax highlighter package | [Dockerfile](pygmentize/Dockerfile) | [backplane/pygmentize](https://hub.docker.com/r/backplane/pygmentize)

pingreporter/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM golang:alpine AS builder
2+
3+
RUN apk add --no-cache ca-certificates
4+
5+
WORKDIR /go/src/app
6+
7+
RUN go install codeberg.org/backplane/pingreporter@latest
8+
9+
FROM scratch
10+
LABEL maintainer="Backplane BV <backplane@users.noreply.github.com>"
11+
12+
COPY --from=builder /go/bin/pingreporter /
13+
COPY --from=builder /etc/ssl/certs /etc/ssl/certs
14+
15+
WORKDIR /work
16+
USER 65534:65534
17+
ENTRYPOINT ["/pingreporter"]

pingreporter/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# pingreporter
2+
3+
[`scratch`](https://hub.docker.com/_/scratch/)-based [pingreporter](https://codeberg.org/backplane/pingreporter), the "tool that pings a target host and reports the results to an HTTP endpoint"
4+
5+
As [the site](https://codeberg.org/backplane/pingreporter) says:
6+
7+
> [pingreporter is] A CLI tool that pings a target host and optionally reports the results to an HTTP endpoint. Useful for uptime monitoring integrations where you need to report connectivity status from a specific network location. Created to report data to Uptime Kuma.
8+
9+
This image is built from the [latest pingreporter release on codeberg](https://codeberg.org/backplane/pingreporter/releases).
10+
11+
| Repo | URL |
12+
| ------------ | ----------------------------------------------------------- |
13+
| Docker File | <https://github.com/backplane/conex/tree/main/pingreporter> |
14+
| Docker Image | <https://hub.docker.com/r/backplane/pingreporter> |

toolbox/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ RUN set -eux; \
1616
cabextract \
1717
curl \
1818
file \
19+
gcc \
20+
git \
1921
iproute2 \
2022
iputils-ping \
2123
jq \

0 commit comments

Comments
 (0)