Skip to content

Replace pip3 to python3 -m pip #195

Closed

Description

Activity

  1. yosifkit commented on May 1, 2017

    @yosifkit
    Member

    We refactored the linked section with #194. Is there a part that still needs changing?

  2. lorddaedra commented on May 6, 2017

    @lorddaedra
    Author

    Currently I use my custom version of Python Docker file (https://dpaste.de/8Xps), I try to stay close to original version..

    • Alpine 3.5
    • upgrade packages before processing
    • install and configure flake8 and some tools like pylint, mypy and sphinx,..

    I fixed some bug with wget: can't execute 'ssl_helper': No such file or directory, as I see, it's similar too Yelp/dumb-init#73 ... and previous wget -0 ... completed without errors, so I added get-pip.py to 46 line close to other wget commands, before deleting .fetch-deps and it works now... https://dpaste.de/8Xps#L46,74

    For some reason your code works in your version but doesn't in my. May be because of modern Alpine version or because of it is in different RUN block...

    I use one single RUN block to minimize count of layers of image...

    Not sure about replacing && to ;, in future I going to use Ansible for building images (https://www.ansible.com/ansible-container), but not sure, it will work with Docker Cloud/Hub build system (but it may work with https://docs.docker.com/docker-cloud/builds/advanced/#override-build-test-or-push-commands)...

  3. added
    questionUsability question, not directly related to an error with the image
    RequestRequest for image modification or feature
    on Apr 25, 2018
  4. tianon commented on Sep 12, 2018

    @tianon
    Member

    wget: can't execute 'ssl_helper': No such file or directory

    This is indeed due to the Alpine version -- the newer Alpine releases no longer require libressl or CA certificates installed in order to fetch SSL web content.

    Given that this doesn't appear to be an issue with the image we maintain (and thus not something we can really fix), I'm going to close. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or featurequestionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions