+
Skip to content

Dockerfile problem when following instructions #9262

Open
@tarilabs

Description

@tarilabs

What happened?

Hi, following instructions from here: https://github.com/cri-o/cri-o/blob/main/tutorials/crio-in-kind.md

When building for cri-o version --build-arg CRIO_VERSION=v1.33.1 the Dockerfile for cri-o, I get

(...)
24.10 Installing cri-o ...
24.92 curl: (22) The requested URL returned error: 403
24.93 gpg: no valid OpenPGP data found.
------
Dockerfile.crio:6
--------------------
   5 |     
   6 | >>> RUN echo "Installing Packages ..." \
   7 | >>>     && apt-get clean \
   8 | >>>     && apt-get update -y \
   9 | >>>     && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  10 | >>>     software-properties-common vim gnupg \
  11 | >>>     && echo "Installing cri-o ..." \
  12 | >>>     && curl -fsSL https://pkgs.k8s.io/addons:/cri-o:/$PROJECT_PATH/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg \
  13 | >>>     && echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/$PROJECT_PATH/deb/ /" | tee /etc/apt/sources.list.d/cri-o.list \
  14 | >>>     && apt-get update \
  15 | >>>     && DEBIAN_FRONTEND=noninteractive apt-get --option=Dpkg::Options::=--force-confdef install -y cri-o \
  16 | >>>     && sed -i 's/containerd/crio/g' /etc/crictl.yaml \
  17 | >>>     && systemctl disable containerd \
  18 | >>>     && systemctl enable crio 
--------------------
ERROR: failed to solve: process "/bin/sh -c echo \"Installing Packages ...\"     && apt-get clean     && apt-get update -y     && DEBIAN_FRONTEND=noninteractive apt-get install -y     software-properties-common vim gnupg     && echo \"Installing cri-o ...\"     && curl -fsSL https://pkgs.k8s.io/addons:/cri-o:/$PROJECT_PATH/deb/Release.key | gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg     && echo \"deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/$PROJECT_PATH/deb/ /\" | tee /etc/apt/sources.list.d/cri-o.list     && apt-get update     && DEBIAN_FRONTEND=noninteractive apt-get --option=Dpkg::Options::=--force-confdef install -y cri-o     && sed -i 's/containerd/crio/g' /etc/crictl.yaml     && systemctl disable containerd     && systemctl enable crio" did not complete successfully: exit code: 2
Error: Process completed with exit code 1.

Can you kindly confirm the dockerfile is valid or which correct needed

What did you expect to happen?

I would have expected to complete the step "Now let's build our image with CRI-O on top of kindest/node:latest:"
from the guide https://github.com/cri-o/cri-o/blob/main/tutorials/crio-in-kind.md#build-node-image

How can we reproduce it (as minimally and precisely as possible)?

see failure at https://github.com/tarilabs/demo20250612-crio/actions/runs/15733895277/job/44341405676

Anything else we need to know?

No response

CRI-O and Kubernetes version

CRIO_VERSION=v1.33.1

(same for K8s)

OS version

github action at: https://github.com/tarilabs/demo20250612-crio/actions/runs/15733895277/workflow

Additional environment details (AWS, VirtualBox, physical, etc.)

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载