From dbd16138866ec0a97da4ee2425f311f08dc21742 Mon Sep 17 00:00:00 2001 From: Nils Date: Fri, 9 Aug 2024 06:55:38 +0000 Subject: [PATCH] dockerc 0.3.0 --- README.md | 7 +++++-- build.zig.zon | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c8f327..a1b21ac 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ Install dockerc from the [latest release](https://github.com/NilsIrl/dockerc/rel # Image from docker hub $ dockerc --image docker://oven/bun --output bun # Image in local docker daemon storage -$ zig-out/bin/dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin +$ dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin +# Specify target instruction set architecture +$ docker --image docker://hello-world --arch arm64 --output hello ``` The output binary can then be called as you would with usual binaries. You can @@ -28,6 +30,7 @@ Skopeo is used for loading images, for other locations refer to [its documentati ``` $ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl +$ zig build -Doptimize=ReleaseSafe -Dtarget=aarch64-linux-musl ``` ## Features @@ -36,7 +39,7 @@ $ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl - [X] Rootless containers - [ ] MacOS and Windows support (using QEMU) - [X] x86_64 support -- [ ] arm64 support +- [X] arm64 support - [X] Supports arguments - [X] [Supports specifying environment variables using `-e`][2] - [X] [Supports specifying volumes using `-v`][3] diff --git a/build.zig.zon b/build.zig.zon index fd5e72a..9c3f078 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -2,7 +2,7 @@ .name = "dockerc", // This is a [Semantic Version](https://semver.org/). // In a future version of Zig it will be used for package deduplication. - .version = "0.2.1", + .version = "0.3.0", // This field is optional. // This is currently advisory only; Zig does not yet do anything