Sign inSign up

jfxs/hello-world

By jfxs

•Updated 2 months ago

A lightweight automatically updated and tested multiarch amd64 and arm64 "Hello world" docker image

Image
Web servers
0

50K+

jfxs/hello-world repository overview

⁠jfxs / hello world

Software License Pipeline Status

A Nginx⁠ Docker image:

  • lightweight image based on Alpine Linux only 5 MB,
  • multiarch with support of amd64 and arm64,
  • non-root container user,
  • automatically updated by comparing SBOM changes,
  • image signed with Cosign⁠,
  • an SBOM attestation added using Syft⁠,
  • available on Docker Hub and Quay.io.

Hello world screenshot

GitLab The main repository.

Docker Hub The Docker Hub registry.

Quay.io The Quay.io registry.

⁠Running Nginx Hello World

docker run -d --rm -p 8080:8080 jfxs/hello-world

or

docker run -d --rm -p 8080:8080 quay.io/ifxs/hello-world

⁠Built with

Docker latest tag is 1.31.3-002, 1.31, 1⁠ and contains:

NameVersionType
nginx1.31.3-r1apk

Details are updated on Dockerhub Overview page⁠ when an image is published.

⁠Versioning

The Docker tag is defined by the nginx version used and an increment to differentiate build with the same nginx version:

<nginx_version>-<increment>

Example: 1.18.0-001

⁠Signature and attestation

Cosign⁠ public key:

-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEa3yV6+yd/l4zh/tfT6Tx+zn0dhy3
BhFqSad1norLeKSCN2MILv4fZ9GA6ODOlJOw+7vzUvzZVr9IXnxEdjoWJw==
-----END PUBLIC KEY-----

The public key is also available online: https://gitlab.com/op_so/docker/cosign-public-key/-/raw/main/cosign.pub⁠.

To verify an image:

cosign verify --key cosign.pub $IMAGE_URI

To verify and get the SBOM attestation:

cosign verify-attestation --key cosign.pub --type spdxjson $IMAGE_URI | jq '.payload | @base64d | fromjson | .predicate'

⁠Authors

⁠License

This program is free software: you can redistribute it and/or modify it under the terms of the MIT License (MIT). See the LICENSE⁠ for details.

Tag summary

Content type

Image

Digest

sha256:6cfa3af54…

Size

5.5 MB

Last updated

2 months ago

docker pull jfxs/hello-world