aboutcode-org / aboutcode-org/scancode.io

Upgrade Skopeo binary (currently embedded in fetchcode-container)

Đang mở
#1,696 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
215
Fork
203
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.