Commit 40172dc5 authored by Erik Wilson's avatar Erik Wilson

Package airgap image files

Generate airgap artifacts from an images list for each architecture.
parent 9645048a
#!/bin/bash
set -e -x
cd $(dirname $0)
k3s crictl images -o json \
| jq -r '.images[].repoTags[0] | select(. != null)' \
| tee image-list.txt
docker.io/coredns/coredns:1.3.0
docker.io/library/traefik:1.7.9
docker.io/rancher/klipper-helm:v0.1.5
docker.io/rancher/klipper-lb:v0.1.1
k8s.gcr.io/pause:3.1
......@@ -9,3 +9,4 @@ fi
./package-cli
./package-image
./package-airgap
#!/bin/bash
set -e -x
source $(dirname $0)/version.sh
cd $(dirname $0)/..
images=$(cat scripts/airgap/image-list.txt)
xargs -n1 docker pull <<< "${images}"
docker save ${images} -o dist/artifacts/k3s-airgap-images-${ARCH}.tar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment