fix: Fix make build failed

Since poetry 1.1.8 version introduces a large number of bugs[1], which
makes the process of building container image fail, so the 1.1.8
version of poetry is not used.

[1] https://github.com/python-poetry/poetry/issues/4429

Change-Id: Ia30c2c5e783401aa4bad85139b0bf2fa9a822847
This commit is contained in:
Gao Hanxiang 2021-08-25 04:54:43 -04:00
parent 08126209de
commit 3855a725a9

View File

@ -37,7 +37,7 @@ RUN export LANG=C.UTF-8 \
&& rm -rf /usr/bin/python /usr/bin/pip \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& ln -s /usr/bin/pip3 /usr/bin/pip \
&& pip install poetry \
&& pip install poetry!=1.1.8 \
&& poetry config virtualenvs.create false \
&& mkdir -p /etc/skyline /var/log/skyline/ /var/lib/skyline \
&& cd /skyline \