fix: workaround docker==5.0.0 not importing its dependencies

pull/1066/head
Erik Sundell 2021-07-15 20:22:05 +02:00
rodzic 43891a6f60
commit 231cf1cb13
2 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -11,6 +11,7 @@ RUN mkdir /tmp/wheelhouse \
&& cd /tmp/wheelhouse \
&& pip3 install wheel \
&& pip3 wheel --no-cache-dir /tmp/src \
&& rm /tmp/wheelhouse/six*.whl \
&& ls -l /tmp/wheelhouse
FROM alpine:${ALPINE_VERSION}

Wyświetl plik

@ -57,6 +57,9 @@ setup(
"requests",
"ruamel.yaml>=0.15",
"semver",
# six installation is a workaround of https://github.com/docker/docker-py/pull/2844.
# When removing this, also remove the "rm /tmp/wheelhouse/six*.whl" line in ./Dockerfile
"six",
"toml",
"traitlets",
],