Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish images: amd64/arm64 images containing cli only #2770

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Sep 18, 2024

  1. publish images: amd64/arm64 images containing cli only

    There was no prebuilt image available for multiple architectures,
    this provides an image from scratch only containing cilium-cli
    binary.
    
    This ensures that the image can be used directly as a standalone
    solution or included within other containers
    
    example dockerfile
    ---
    FROM quay.io/cilium/cilium-cli:tag as cilium
    FROM exampleimage
    COPY --from=cilium /usr/local/bin/cilium /usr/local/bin/cilium
    ---
    
    Fixes: cilium#2755
    
    Signed-off-by: Merijn Keppel <[email protected]>
    leppeK committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7bad135 View commit details
    Browse the repository at this point in the history
  2. Build desired target with a buildargument

    This way we are not diverging in multiple dockerfiles and we can choose between two targets:
    - cilium-cli-ci The original target based on ubuntu and the default
    - cilium-cli Only contains the cilium cli based on scratch
    
    Fixes: cilium#2755
    
    Signed-off-by: Merijn Keppel <[email protected]>
    leppeK committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c69da57 View commit details
    Browse the repository at this point in the history
  3. reference the correct file.

    @asauber pointed out i referenced a Dockerfile that does not exist
    anymore
    
    Fixes: cilium#2755
    
    Signed-off-by: Merijn Keppel <[email protected]>
    leppeK committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8aec284 View commit details
    Browse the repository at this point in the history