skopeo: Unable to locate package skopeo on Ubuntu 18.04 & 20.04
Starting having issues pulling Skopeo into my Ubuntu 18.04 images starting last night. How can we get skopeo to install?
# apt-get install -y skopeo
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package skopeo
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 15 (3 by maintainers)
Commits related to this issue
- Install skopeo from source Refs https://github.com/containers/skopeo/issues/1648 — committed to felipecrs/jenkins-agent-dind by felipecrs 2 years ago
- Download skopeo binary instead of from APT Because the Kubic repository (needed for Ubuntu 20.04) is no longer working well. This also allows us to use the latest version of skopeo. Refs https://git... — committed to felipecrs/dotfiles by felipecrs a year ago
For those using skopeo in a docker image, you can statically build it from source like this:
Hi all, RE: 18.04, skopeo seems to have been enabled mistakenly because of cri-o sharing the project. The kubic packages (at least in the form they were) were causing more trouble than they were solving. Lack of maintenance + issues on the Kubic infra side such as the hash mismatches were why I removed them. Please build skopeo from source or use the skopeo container image
Skopeo seems to be entirely gone from https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/
I think the title of the PR could be changed to include 20.04 as well.
A small addition to @felipecrs comments: you need BuildKit enabled to use the
--outputflag.PS: You can use my
Dockerfileabove to also installskopeowith the following command:It will write two files to your system:
/usr/local/bin/skopeoand/etc/containers/policy.jsonI understand it’s not being updated for 18.04 but why was it completely removed?
Especially considering that the number of people using Ubuntu 18.04 and 20.04 completely overwhelms the number of people using 22.04 currently.