![]() ![]() The command '/bin/sh -c pip install -r /requirements. ![]() ![]() Steps to reproduce: UserPC MINGW64 /Tomcat ls docker-compose. FROM ubuntu:latest MAINTAINER ME RUN apt-get update RUN apt-get update & apt. The Java-Webapp that should be deployed in the Tomcat-server is build with Maven. FROM ubuntu:latest MAINTAINER ME RUN apt-get update RUN apt-get update & apt-get install -y net-tools \ & apt-get install inetutils-traceroute \ & apt-get install iputils-ping \ & apt-get install xinetd telnetd. Raise EnvironmentError("%s not found" % (_mysql_config_path,))ĮRROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Docker building fails: returned a non-zero code: 1. Step 5/12 : RUN pip install -r /requirements.txtĮRROR: Command errored out with exit status 1:Ĭommand: /usr/local/bin/python -c 'import sys, setuptools, tokenize sys.argv = '"'"'/tmp/pip-install-e9kt1otq/mysqlclient/setup.py'"'"' _file_='"'"'/tmp/pip-install-e9kt1otq/mysqlclient/setup.py'"'"' f=getattr(tokenize, '"'"'open'"'"', open)(_file_) code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"') f.close() exec(compile(code, _file_, '"'"'exec'"'"'))' egg_info -egg-base /tmp/pip-install-e9kt1otq/mysqlclient/pip-egg-infoĬwd: /tmp/pip-install-e9kt1otq/mysqlclient/įile "/tmp/pip-install-e9kt1otq/mysqlclient/setup.py", line 16, in įile "/tmp/pip-install-e9kt1otq/mysqlclient/setup_posix.py", line 61, in get_configįile "/tmp/pip-install-e9kt1otq/mysqlclient/setup_posix.py", line 29, in mysql_config tmp/MyBinFile. MyBinfile.bin but when I try it from my Dockerfile I always get the error : The command '/bin/sh -c chmod +x /tmp/snapcenterlinuxhostplugin.bin &. The minimum changes for this to work is to update your Dockerfile to be like. When I try to install a bin file manually inside a ubuntu Docker container it works perfectly. Moreover, the command 'insisted' on killing itself and return exit code of 137. MyBinfile.bin but when I try it from my Dockerfile I always get the error : The command '/bin/sh -c chmod +x /tmp/snapcenterlinuxhostplugin.bin &. As described, the command RUN appmanage.py appconfig appAdd.json run successfully as expected and reported that System check identified no issues (0 silenced). Requirements.txt django>=2.1.3, 6c7f85a86cca Heres the command to do the same thing: pip install pycocotools or pip install pycocotools-windows Solution 1: Install the. 27 When I try to install a bin file manually inside a ubuntu Docker container it works perfectly. Sh -c "python manage.py runserver 0.0.0.0:8000"Ĭommand: mysqld -default-authentication-plugin=mysql_native_password I have prepared a requirement.txt, docker-compose.yml and a Dockerfile I want to use docker for the deployment of my application. I am building an application with Djnago and MySql. npm ERR A complete log of this run can be found in: npm ERR /root/.npm/logs/T010131933Z-debug-0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |