<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>apko on</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/tags/apko/</link><description>Recent content in apko on</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Mon, 23 Oct 2023 08:49:31 +0000</lastBuildDate><atom:link href="https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/tags/apko/index.xml" rel="self" type="application/rss+xml"/><item><title>apko Overview</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/overview/</link><pubDate>Mon, 10 Oct 2022 11:07:52 +0200</pubDate><guid>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/overview/</guid><description>apko is a command-line tool designed to create single-layer container images based on the apk package format. It was so named as it uses the apk package format and is inspired by the ko build tool.
apko is part of the open source toolkit developed by Chainguard to build Chainguard Containers. The following diagram contains an overview of the apko ecosystem and how it interacts with melange for building apk-based images, using either Wolfi or Alpine as base system.</description></item><item><title>apko FAQs</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/faq/</link><pubDate>Mon, 10 Oct 2022 11:07:52 +0200</pubDate><guid>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/faq/</guid><description>Do I need to understand apko to use Chainguard Containers? No. Chainguard built apko as part of its open source tooling around the Wolfi operating system. While you can check out the project on GitHub and learn more, it&amp;rsquo;s not a prerequisite for using Chainguard Containers.
How are apko images defined? apko images are defined declaratively using a YAML file. It was designed this way to facilitate reproducible builds — run apko twice, and you&amp;rsquo;ll get the same output.</description></item><item><title>Getting Started with apko</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/getting-started-with-apko/</link><pubDate>Wed, 06 Jul 2022 08:49:31 +0000</pubDate><guid>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/getting-started-with-apko/</guid><description>apko is a command-line tool to build container images using a declarative language based on YAML. apko is so named as it uses the apk package format and is inspired by the ko build tool. It is part of the open source tooling Chainguard developed to create the Wolfi operating system which is used in Chainguard Containers.
Why apko Container images are typically assembled in multiple steps. A tool like Docker, for example, combines building steps (as in, running commands to copy files, build and deploy applications) and composition (as in, composing a base image with pre-built packages) in a single piece of software.</description></item><item><title>Troubleshooting apko Builds</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/troubleshooting/</link><pubDate>Wed, 10 Aug 2022 11:07:52 +0200</pubDate><guid>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/troubleshooting/</guid><description>Debug Options To include debug-level information on apko builds, add --debug to your build command:
docker run --rm -v ${PWD}:/work cgr.dev/chainguard/apko build --debug \ apko.yaml hello-minicli:test hello-minicli.tar \ -k melange.rsa.pub Common Errors When the apk package manager is unable to resolve your requirements to a set of installable packages, you will get an error similar to this:
Error: failed to build layer image: initializing apk: failed to fixate apk world: exit status 1 There are two main root causes for this error, which we&amp;rsquo;ll explain in more detail in the upcoming section:</description></item><item><title>Why apk</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/wolfi/apk-package-manager/</link><pubDate>Wed, 06 Jul 2022 08:49:31 +0000</pubDate><guid>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/wolfi/apk-package-manager/</guid><description>apko uses the apk package manager to compose container images based on declarative pipelines. The apk format was introduced by Alpine Linux to address specific design requirements that could not be met by existing package managers such as apt and dnf. But what makes it different, and why does that matter in the context of apko?
Manipulating the Desired State In traditional package managers like dnf and apt, requesting the installation or removal of packages causes those packages to be directly installed or removed, after a consistency check.</description></item><item><title>Bazel Rules for apko</title><link>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/bazel-rules/</link><pubDate>Mon, 23 Oct 2023 08:49:31 +0000</pubDate><guid>https://deploy-preview-3176--ornate-narwhal-088216.netlify.app/open-source/build-tools/apko/bazel-rules/</guid><description>rules_apko is an open source plugin for Bazel that makes it possible to build secure, minimal Wolfi-based container images using the Bazel build system. It wraps the apko tool for use under Bazel, providing hermetic, reproducible image builds with full Bazel caching support.
By the end of this guide you will have a working Bazel project that builds a minimal Wolfi-based container image using rules_apko.
How to build a container with Bazel using rules_apko This page covers rules_apko version 1.</description></item></channel></rss>