Build failed in python3.9-alpine #1045
-
Could you help me? 😨 dockerfileFROM python:3.9-alpine
# -- timezone sync
RUN set -ex && apk update \
&& apk add tzdata \
&& cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime \
&& echo "Asia/Seoul" > /etc/timezone \
&& apk del tzdata
# build-base: gevent dependency
# linux-headers: linux/tipc.h
RUN set -ex && apk update \
&& apk add --no-cache build-base patchelf linux-headers git
RUN mkdir /code
WORKDIR /code
COPY . /code
RUN pip install --upgrade pip
RUN pip install --upgrade cx_Freeze
RUN pip install -r requirements.txt
# cython import
RUN pip install -U \
git+https://github.com/samuelcolvin/pydantic.git@v1.8.1 \
git+https://github.com/secdev/scapy.git@v2.4.5 requirements.txt-i https://pypi.org/simple
aiohttp==3.7.3
async-timeout==3.0.1; python_full_version >= '3.5.3'
attrs==20.3.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
chardet==3.0.4
click==7.1.2
docutils==0.16; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'
idna==3.1; python_version >= '3.4'
lockfile==0.12.2
loguru==0.5.3
multidict==5.1.0; python_version >= '3.6'
netifaces==0.10.9
pydantic==1.7.3
python-daemon==2.2.4
scapy==2.4.4
typing-extensions==3.7.4.3
uvloop==0.14.0
yarl==1.6.3; python_version >= '3.6' console...
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyErr_SetNone: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyErr_PrintEx: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyDict_Next: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyUnicode_FromKindAndData: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyUnicode_Compare: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyMem_Malloc: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyObject_GetAttr: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyUnicode_FromOrdinal: symbol not found
Error relocating /usr/local/lib/python3.9/site-packages/yarl/_quoting_c.cpython-39-x86_64-linux-gnu.so: PyUnicode_Join: symbol not found
... |
Beta Was this translation helpful? Give feedback.
Answered by
marcelotduarte
May 5, 2021
Replies: 1 comment
-
Hi, apparently this error doesn't block the build and run, but a bug introduced in 6.6 causes a segmentation fault.
Dockerfile
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mcauto
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, apparently this error doesn't block the build and run, but a bug introduced in 6.6 causes a segmentation fault.
Dockerfile