You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to build a very simple docker image with PyArmor installed for use in a CI/CD job. The docker build is able to install PyArmor with pip, but fails during the pyarmor register step. Per the docs i've tried adding a host for pyarmor.dashingsoft.com:119.23.58.77 using the Docker --add-host command, but it made no difference.
Dockerfile:
FROM python:3.9
RUN python3 -m pip install build
ADD pyarmor-regcode-3423.txt .
RUN python3 -m pip install pyarmor
RUN pyarmor -d register pyarmor-regcode-3423.txt
ENTRYPOINT [ "pyarmor", "--version"]
I'm attempting to build a very simple docker image with PyArmor installed for use in a CI/CD job. The docker build is able to install PyArmor with pip, but fails during the pyarmor register step. Per the docs i've tried adding a host for pyarmor.dashingsoft.com:119.23.58.77 using the Docker --add-host command, but it made no difference.
Dockerfile:
Command run:
docker build --add-host=pyarmor.dashingsoft.com:119.23.58.77 -t build_image:0.1 .
Output:
The text was updated successfully, but these errors were encountered: