Skip to content

Instantly share code, notes, and snippets.

@imjasonh
Created July 19, 2022 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imjasonh/2cfe392eb8b535f998e8a8c71ba2e5af to your computer and use it in GitHub Desktop.
Save imjasonh/2cfe392eb8b535f998e8a8c71ba2e5af to your computer and use it in GitHub Desktop.
$ crane export alpine - | tar -Oxf - etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.16.1
PRETTY_NAME="Alpine Linux v3.16"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
$ crane export ghcr.io/distroless/alpine-base - | tar -Oxf - etc/os-release
ID=alpine
NAME="apko-generated image"
PRETTY_NAME="apko-generated image"
VERSION_ID=3.16
HOME_URL="https://github.com/chainguard-dev/apko"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment