aboutcode-org / aboutcode-org/scancode.io

Upgrade Skopeo binary (currently embedded in fetchcode-container)

未關閉
#1,696 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
215
分支
203
平均合併
4 天 8 小時
30 天內合併 PR
6

描述

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
```

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。