Skip to content

Instantly share code, notes, and snippets.

@sozercan
Last active February 18, 2025 23:56
Show Gist options
  • Save sozercan/1d4cc849b4a8401777888a9491ad72a3 to your computer and use it in GitHub Desktop.
Save sozercan/1d4cc849b4a8401777888a9491ad72a3 to your computer and use it in GitHub Desktop.
# syntax=ghcr.io/azure/dalec/frontend:latest
name: kubectl-bash
version: 0.1.0
license: MIT
description: A minimal distroless image with only kubectl and bash
revision: 1
dependencies:
runtime:
kubectl:
bash:
extra_repos:
- config:
azl-cloud-native.repo:
inline:
file:
contents: |
[azurelinux-cloud-native]
name=Azure Linux Cloud Native $releasever $basearch
baseurl=https://packages.microsoft.com/azurelinux/$releasever/prod/cloud-native/$basearch
gpgkey=file:///etc/pki/rpm-gpg/MICROSOFT-RPM-GPG-KEY
gpgcheck=1
repo_gpgcheck=1
enabled=1
skip_if_unavailable=True
sslverify=1
envs:
# The repository will only be available when installing into the final container
- install
image:
entrypoint: /bin/kubectl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment