Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/egibs/apko-examples
- Owner: egibs
- Created: 2023-12-22T18:40:02.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-22T19:03:58.000Z (11 months ago)
- Last Synced: 2024-07-17T18:07:26.827Z (4 months ago)
- Language: Makefile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```