Skip to content

Commit dbd1613

Browse files
committed
dockerc 0.3.0
1 parent d79a071 commit dbd1613

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Install dockerc from the [latest release](https://github.com/NilsIrl/dockerc/rel
1414
# Image from docker hub
1515
$ dockerc --image docker://oven/bun --output bun
1616
# Image in local docker daemon storage
17-
$ zig-out/bin/dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin
17+
$ dockerc --image docker-daemon:mysherlock-image:latest --output sherlock_bin
18+
# Specify target instruction set architecture
19+
$ docker --image docker://hello-world --arch arm64 --output hello
1820
```
1921

2022
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
2830

2931
```
3032
$ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl
33+
$ zig build -Doptimize=ReleaseSafe -Dtarget=aarch64-linux-musl
3134
```
3235

3336
## Features
@@ -36,7 +39,7 @@ $ zig build -Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl
3639
- [X] Rootless containers
3740
- [ ] MacOS and Windows support (using QEMU)
3841
- [X] x86_64 support
39-
- [ ] arm64 support
42+
- [X] arm64 support
4043
- [X] Supports arguments
4144
- [X] [Supports specifying environment variables using `-e`][2]
4245
- [X] [Supports specifying volumes using `-v`][3]

build.zig.zon

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.name = "dockerc",
33
// This is a [Semantic Version](https://semver.org/).
44
// In a future version of Zig it will be used for package deduplication.
5-
.version = "0.2.1",
5+
.version = "0.3.0",
66

77
// This field is optional.
88
// This is currently advisory only; Zig does not yet do anything

0 commit comments

Comments
 (0)