{"id":21130991,"url":"https://github.com/workloads/container-images","last_synced_at":"2025-03-14T12:15:31.458Z","repository":{"id":183675793,"uuid":"670232195","full_name":"workloads/container-images","owner":"workloads","description":"Packer Templates for commonly used Container Images","archived":false,"fork":false,"pushed_at":"2024-07-29T10:27:55.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T06:11:40.773Z","etag":null,"topics":["docker","packer"],"latest_commit_sha":null,"homepage":"https://github.com/orgs/workloads/packages?repo_name=container-images","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/workloads.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-24T15:23:59.000Z","updated_at":"2024-07-29T10:27:59.000Z","dependencies_parsed_at":"2023-12-12T11:41:06.379Z","dependency_job_id":"ad967fe1-d6c8-41cb-ad8a-5d9c2ee1d372","html_url":"https://github.com/workloads/container-images","commit_stats":null,"previous_names":["workloads/container-images"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fcontainer-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fcontainer-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fcontainer-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workloads%2Fcontainer-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workloads","download_url":"https://codeload.github.com/workloads/container-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243573495,"owners_count":20312883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","packer"],"created_at":"2024-11-20T05:43:02.213Z","updated_at":"2025-03-14T12:15:31.405Z","avatar_url":"https://github.com/workloads.png","language":"HCL","readme":"# Container Images\n\n\u003e This repository manages container images for [@workloads](https://github.com/workloads).\n\n## Table of Contents\n\n\u003c!-* TOC --\u003e\n* [Container Images](#container-images)\n  * [Table of Contents](#table-of-contents)\n  * [Requirements](#requirements)\n    * [Development](#development)\n  * [Usage](#usage)\n  * [Notes](#notes)\n    * [Specifying a Platform](#specifying-a-platform)\n    * [Publishing Images](#publishing-images)\n    * [Version Names](#version-names)\n    * [Security Scanning](#security-scanning)\n    * [Development Helpers](#development-helpers)\n    * [Colorized Output](#colorized-output)\n  * [Contributors](#contributors)\n  * [License](#license)\n\u003c!-* TOC --\u003e\n\n## Requirements\n\n* HashiCorp Packer `1.10.x` or [newer](https://developer.hashicorp.com/packer/downloads)\n* Docker `24.0.0` or [newer](https://www.docker.com/products/docker-desktop/)\n  * alternate compatible runtimes (e.g.: Podman, OrbStack) may be used\n* a copy of [@workloads/tooling](https://github.com/workloads/tooling)\n\n### Development\n\nFor development and testing of this repository:\n\n* `terraform-docs` `0.17.0` or [newer](https://terraform-docs.io/user-guide/installation/)\n\n## Usage\n\nThis repository provides a [Makefile](./Makefile)-based workflow.\n\nRunning `make` without commands will print out the following help information:\n\n```text\n🐳 CONTAINER IMAGES\n\nTarget            Description                                                        Usage\ninit              initialize a Packer Template                                       `make init template=\u003ctemplate\u003e`\nlint              lint a Container Image Template                                    `make lint template=\u003ctemplate\u003e`\nbuild             build a Container Image                                            `make build template=\u003ctemplate\u003e`\ndocs              generate documentation for all Packer Images                       `make docs template=\u003ctemplate\u003e`\nconsole           start Packer Console                                               `make console template=\u003ctemplate\u003e`\nprint-secrets     print (sanitized) environment variables                            `make print-secrets`\nsnyk_test         test Image with Snyk Container                                     `make snyk_test image=\u003cimage\u003e`\n_registry_login   log in to a (Docker) Registry                                      `make _registry_login`\nyaml_lint         lint YAML files                                                    `make yaml_lint`\n_link_vars        create a symlink to the shared variables file for a new builder    `make _link_vars builder=\u003cbuilder\u003e`\nhelp              display a list of Make Targets                                     `make help`\n_listincludes     list all included Makefiles and *.mk files                         `make _listincludes`\n_selfcheck        lint Makefile                                                      `make _selfcheck`\n```\n\n\u003e All workflows _may_ be executed manually, though this is not advisable. See the [Makefile](./Makefile) for more information.\n\n## Notes\n\n### Specifying a Platform\n\nThe `platform` flag may be used to specify the name of the (Image) Platform to use.\n\n```shell\nmake build template=\u003ctemplate\u003e PLATFORM=arm64\n````\n\nWhen omitted, the `platform` flag defaults to the host system's CPU architecture (as reported by `uname -m`).\n\n### Publishing Images\n\nImages may be pushed to a Container Registry by setting the `push` flag to `true` as part of the `make build` target.\n\nThis will run the [`docker-push`](https://developer.hashicorp.com/packer/plugins/post-processors/docker/docker-push) Post Processor as part of the Packer build process.\n\n### Version Names\n\nImages are versioned using a string that is derived from the current date and time, normalized to UTC.\n\nThe default format is `%Y%m%d-%H%M`, which translates to a string that looks like this: `19701231-2359`.\n\nThe default value may be overridden by setting the `VERSION` flag to any (other) string.\n\n### Security Scanning\n\nImages may be scanned for security concerns using [Snyk Container](https://snyk.io/product/container-vulnerability-management/) with the `make snyk_test` command.\n\n\u003e **Note**\n\u003e The `snyk_test` target requires the Snyk CLI to be [authenticated](https://docs.snyk.io/snyk-cli/authenticate-the-cli-with-your-account) with the Snyk API.\n\n### Development Helpers\n\nThe [Makefile](./Makefile) includes several unsupported helper targets that _may_ be useful when developing additional templates and functionality.\n\nThese targets are prefixed with an underscore (`_`) and may be removed at any time.\n\n### Colorized Output\n\nColorized CLI output may be disabled by setting the `NO_COLOR` environment variable to any non-empty value.\n\n```shell\nexport NO_COLOR=1 \u0026\u0026 make\n```\n\n## Contributors\n\nFor a list of current (and past) contributors to this repository, see [GitHub](https://github.com/workloads/container-images/graphs/contributors).\n\n## License\n\nLicensed under the Apache License, Version 2.0 (the \"License\").\n\nYou may download a copy of the License at [apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0).\n\nSee the License for the specific language governing permissions and limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkloads%2Fcontainer-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkloads%2Fcontainer-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkloads%2Fcontainer-images/lists"}