Skip to content

Commit

Permalink
feat: add curl image
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-tobi committed Dec 26, 2024
1 parent 78f3163 commit fd30ed8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Utility tools & scripts.
| Image | Description | Dockerfiles |
| ----------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------------- |
| `ghcr.io/this-is-tobi/tools/act-runner` | *act runner image for local CI tests (ubuntu based).* | [Dockerfile](./docker/act-runner/Dockerfile) |
| `ghcr.io/this-is-tobi/tools/curl` | *ligthweight image with curl and jq (alpine based).* | [Dockerfile](./docker/curl/Dockerfile) |
| `ghcr.io/this-is-tobi/tools/debug` | *debug image with all convenients tools (debian based).* | [Dockerfile](./docker/debug/Dockerfile) |
| `ghcr.io/this-is-tobi/tools/dev` | *development image with all convenients tools (debian based).* | [Dockerfile](./docker/dev/Dockerfile) |
| `ghcr.io/this-is-tobi/tools/pg-backup` | *helper image to backup postgresql to s3 (postgres based).* | [Dockerfile](./docker/pg-backup/Dockerfile) |
Expand All @@ -17,16 +18,17 @@ Utility tools & scripts.

__Versions correlation table :__

| Name | Image version | Base image |
| ------------ | ------------- | ---------------------------------- |
| act-runner | 2.0.2 | `docker.io/ubuntu:24.04` |
| debug | 2.0.1 | `docker.io/debian:12` |
| dev | 2.0.1 | `docker.io/debian:12` |
| pg-backup | 3.0.2 | `docker.io/postgres:17.2` |
| pg-backup | 2.0.2 | `docker.io/postgres:16.6` |
| pg-backup | 1.4.5 | `docker.io/postgres:15.10` |
| s3-backup | 1.1.4 | `docker.io/debian:12` |
| vault-backup | 1.2.3 | `docker.io/hashicorp/vault:1.18.3` |
| Name | Image version | Base image |
| ------------ | ------------- | --------------------------------------- |
| act-runner | 2.0.2 | `docker.io/ubuntu:24.04` |
| curl | 1.0.0 | `docker.io/curlimages/curl-base:8.11.1` |
| debug | 2.0.1 | `docker.io/debian:12` |
| dev | 2.0.1 | `docker.io/debian:12` |
| pg-backup | 3.0.2 | `docker.io/postgres:17.2` |
| pg-backup | 2.0.2 | `docker.io/postgres:16.6` |
| pg-backup | 1.4.5 | `docker.io/postgres:15.10` |
| s3-backup | 1.1.4 | `docker.io/debian:12` |
| vault-backup | 1.2.3 | `docker.io/hashicorp/vault:1.18.3` |

> [!TIP]
> The backup images are supplied with a sample kubernetes cronjob in their respective folders.
Expand Down
11 changes: 11 additions & 0 deletions ci/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
"latest": true
}
},
{
"name": "curl",
"build": {
"base": "docker.io/curlimages/curl-base:8.11.1",
"context": "./docker/curl",
"dockerfile": "./docker/curl/Dockerfile",
"target": "build",
"tag": "1.0.0",
"latest": true
}
},
{
"name": "debug",
"build": {
Expand Down
6 changes: 6 additions & 0 deletions docker/curl/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG BASE_IMAGE=docker.io/curlimages/curl-base:8.11.1

FROM ${BASE_IMAGE} AS build

RUN apk add jq \
&& rm -rf /var/cache/apk/*

0 comments on commit fd30ed8

Please sign in to comment.