aboutcode-org / aboutcode-org/scancode.io

Upgrade Skopeo binary (currently embedded in fetchcode-container)

Offen
#1,696 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
215
Forks
203
Ø Merge
4 T. 8 Std.
Gemergte PRs (30 T.)
6

Beschreibung

While working on https://github.com/aboutcode-org/scancode.io/issues/1675, I've noticed that the [Skopeo binary](https://github.com/aboutcode-org/scancode-plugins/tree/42311f2314fc65c15d7b08c2323b65395a9c2afc/builtins/fetchcode_container/src/fetchcode_container/bin) used in ScanCode.io, as provided by `fetchcode-container` [v1.2.3](https://github.com/containers/skopeo/releases/tag/v1.2.3) is quite old.

1. The first approach is to upgrade the binary directly in fetchcode-container.

2. A second possibility would be to directly install Skopeo in the SCIO Docker image, and using the `FETCHCODE_SKOPEO_PATH` to use this Skopeo binary instead.
```
$ apt-get -y install skopeo
$ skopeo --version
$ skopeo version 1.9.3. # Oct 19, 2022
```

3. A third option would be to run skopeo as a docker compose service using the latest image.
```
docker run --rm quay.io/skopeo/stable:latest --version
skopeo version 1.19.0
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.