Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kbdharun/dev-image
This repository contains all my development packages preinstalled inside a Fedora Container image.
https://github.com/kbdharun/dev-image
containers dev dev-image development distrobox docker fedora hacktoberfest kbdharun podman vib
Last synced: about 1 month ago
JSON representation
This repository contains all my development packages preinstalled inside a Fedora Container image.
- Host: GitHub
- URL: https://github.com/kbdharun/dev-image
- Owner: kbdharun
- License: mit
- Created: 2024-04-22T16:17:54.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-01T13:40:07.000Z (4 months ago)
- Last Synced: 2024-10-20T00:10:19.260Z (2 months ago)
- Topics: containers, dev, dev-image, development, distrobox, docker, fedora, hacktoberfest, kbdharun, podman, vib
- Homepage:
- Size: 46.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# dev-image
[![Image](https://github.com/kbdharun/dev-image/actions/workflows/image.yml/badge.svg)](https://github.com/kbdharun/dev-image/actions/workflows/image.yml)
![GitHub License](https://img.shields.io/github/license/kbdharun/dev-image)This repository contains all my development packages preinstalled inside a Container image built using [Vib](https://github.com/Vanilla-OS/Vib).
## Using the Container Image with Distrobox
Type the following command to create a container of this image in [Distrobox](https://github.com/89luca89/distrobox):
```sh
distrobox create -n dev -i ghcr.io/kbdharun/dev-image:main
```> [!TIP]
> To create a rootful container, add the `--root` flag to the above command (i.e. `distrobox create -n dev -i ghcr.io/kbdharun/dev-image:main --root`).Type the following command to enter the container:
```sh
distrobox enter dev
```## Verify the Container Image using Cosign
To verify the container image using [`cosign`](https://github.com/sigstore/cosign) (download the `cosign.pub` file from [here](https://github.com/kbdharun/dev-image/blob/main/cosign.pub) and execute the following command):
```zsh
cosign verify --key cosign.pub ghcr.io/kbdharun/dev-image:main
```## Verify Image Build Provenance Attestation
All the image builds/pushes are attested for provenance and integrity using [`actions/attest-build-provenance`](https://github.com/actions/attest-build-provenance). They can be verified by having the latest version of [GitHub CLI](https://github.com/cli/cli/releases/latest) installed in your system. Then, execute the following command:
```sh
gh attestation verify oci://ghcr.io/kbdharun/dev-image:main --owner kbdharun
```