aboutcode-org / aboutcode-org/scancode-toolkit

Docker container can't be used, produces error that python 3.8 can't be found.

未关闭
#2,960 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### Description

Docker container can't be used, produces error that python 3.8 can't be found.
Reason: Dockerfile contains wrong Python version.

### How To Reproduce

Download linux tar, extract run docker as described:

docker build -t scancode-toolkit .

Result:
> [6/6] RUN ./scancode --reindex-licenses:
#10 0.256 * Configuring ScanCode for first use...
#10 0.266 /scancode-toolkit/configure: line 105: Python3.8: command not found

Changing the first line in the dockerfile from

FROM python:3.6-slim-buster

to

FROM python:3.8-slim-buster

solves the problem.

### System configuration

* Windows with Windows docker client
* 31.0.0b4_py38

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。