Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/egibs/apko-examples

Example images built via Chainguard's apko
https://github.com/egibs/apko-examples

Last synced: about 1 month ago
JSON representation

Example images built via Chainguard's apko

Awesome Lists containing this project

README

        

# apko
Example images built via Chainguard's apko.

These images are not meant to be production-ready or any kind of useful; I just wanted to see how easy it was to get up and running with apko.

## Usage

Install `apko`:
```
❯ make install
```

Run one of the `Make` targets:

```
❯ make go
```
or
```
❯ make python3.11
```
or
```
❯ make python3.12
```

Load the archive into Docker:
```
❯ docker load < .tar
```

Run the image:
```
❯ docker run --rm -it [args...]
```

For example:
```
❯ docker load < go1.21/go1.21.tar
caec2aa6d4e4: Loading layer [==================================================>] 220.5MB/220.5MB
Loaded image: go1.21:latest-amd64
31d6d2cf6275: Loading layer [==================================================>] 209.7MB/209.7MB
Loaded image: go1.21:latest-arm64

❯ docker run --rm -it go1.21:latest-arm64 version
go version go1.21.5 linux/arm64
```