Giter Site home page Giter Site logo

Comments (3)

neekolas avatar neekolas commented on September 23, 2024

You might want to retry this. The current lambci/lambda:build-python2.7 Docker image includes pip and virtualenv.

from gordon.

astewart-twist avatar astewart-twist commented on September 23, 2024

FYI, I tried the instructions for using pip in the docker image (here), but it looks like these build instructions do not actually override the defaults.

From my jenkins log:

Building project...
  0001_p.json
      cp -Rf * /var/lib/jenkins/.gordon/tmp4Kl5h1
      pip install --install-option="--prefix=" -r requirements.txt -q -t /var/lib/jenkins/.gordon/tmp4Kl5h1 
      /usr/local/lib/python2.7/dist-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
        cmdoptions.check_install_build_global(options)
      
      cd /var/lib/jenkins/.gordon/tmp4Kl5h1 && find . -name "*.pyc" -delete
      cp -Rf * /var/lib/jenkins/.gordon/tmpnrqvNQ
      echo "[install]\nprefix=" > /var/lib/jenkins/.gordon/tmpnrqvNQ/setup.cfg
      docker run --rm -v $HOME/.pip/pip.conf:/root/.pip/pip.conf -v $HOME/.ssh:/root/.ssh -v /var/lib/jenkins/.gordon/tmpnrqvNQ:/var/task lambci/lambda:build-python2.7 pip install -r requirements.txt -q -t /var/lib/jenkins/.gordon/tmpnrqvNQ

  0002_pr_r.json
  0003_r.json

from gordon.

heri16 avatar heri16 commented on September 23, 2024

@astewart-twist Could you try renaming requirements.txt to requirements-docker.txt so that gordon does not automatically pick it up.

from gordon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.