Skip to content

Commit

Permalink
Install gpg in ubuntu-focal test container.
Browse files Browse the repository at this point in the history
Signed-off-by: Cesar Talledo <[email protected]>
  • Loading branch information
ctalledo committed Jan 25, 2025
1 parent 460348f commit 46ba726
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Dockerfile.ubuntu-focal
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ RUN cd /tmp && curl -LO "https://dl.k8s.io/release/${k8s_version}/bin/linux/amd6
# Install the upstream CRI-O so we get the cri-o binary plus all config files,
# etc. Later we will replace the binary with our forked Nestybox CRI-O that
# works with Sysbox.
RUN apt-get update && apt-get install -y gpg
RUN echo "deb [signed-by=/usr/share/keyrings/libcontainers-archive-keyring.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/${crio_os}/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list \
&& echo "deb [signed-by=/usr/share/keyrings/libcontainers-crio-archive-keyring.gpg] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/${crio_version}/${crio_os}/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$VERSION.list \
&& mkdir -p /usr/share/keyrings \
Expand Down

0 comments on commit 46ba726

Please sign in to comment.