Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions containers/docker/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ docker-base:
kubectl \
bash \
wget \
ca-certificates
ca-certificates \
kubectl
RUN set -eux && \
mkdir -p ~/.docker/cli-plugins && \
mkdir -p ~/.kube && \
cd /tmp && \
ARCH=$(uname -m) && \
case "${ARCH}" in \
Expand Down Expand Up @@ -44,4 +46,4 @@ build:
DO common+SAVE_IMAGE --IMAGE_NAME=docker --TAG=${TAG} --GITHUB_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER}

build-multiplatform:
DO --pass-args common+BUILD_MULTIPLATFORM --TARGET=./docker+build
DO --pass-args common+BUILD_MULTIPLATFORM --TARGET=./docker+build
22 changes: 22 additions & 0 deletions containers/qemu-user-static/Earthfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
VERSION 0.8
IMPORT .. AS common

ARG --global BASE_VERSION
ARG --global TAG
ARG --global GITHUB_REPOSITORY_OWNER

qemu-user-static-base:
FROM docker.io/multiarch/qemu-user-static:${BASE_VERSION}
DO common+ADD_LABELS

validate:
FROM +qemu-user-static-base
RUN --no-cache test -n "$BASE_VERSION" || (echo "BASE_VERSION is required" && exit 1)

build:
BUILD +validate
FROM +qemu-user-static-base
DO common+SAVE_IMAGE --IMAGE_NAME=qemu-user-static --TAG=${TAG} --GITHUB_REPOSITORY_OWNER=${GITHUB_REPOSITORY_OWNER}

build-multiplatform:
DO --pass-args common+BUILD_MULTIPLATFORM --TARGET=./qemu-user-static+build
19 changes: 19 additions & 0 deletions containers/qemu-user-static/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# qemu-user-static

Aliased container image for Qemu-user-static.

## Available Versions

<!-- VERSIONS_START -->

| Tag | Base Version |
| -------- | ------------ |
| `latest` | latest |

<!-- VERSIONS_END -->

## Usage

```bash
docker pull ghcr.io/expnt/containers/qemu-user-static:<tag>
```
9 changes: 9 additions & 0 deletions containers/qemu-user-static/versions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
image_name: qemu-user-static
tag_pattern: "{base_version}"
versions:
- base_version: "latest"
watch:
- pattern: ^latest$
source: docker.io/multiarch/qemu-user-static
target: base_version
type: docker
Loading