Skip to content

Issue building Image with Docker and Makefile in VSC #30

@Tickingsushi

Description

@Tickingsushi

I tried to build this image using Dockerfile and the Makefile. but I got this error. It worked for me previously but today decided not to work.

` => ERROR [10/17] RUN python3.8 -m easy_install pip                                                                                                                                                                      1.4s 
------
 > [10/17] RUN python3.8 -m easy_install pip:
#13 1.063 Searching for pip
#13 1.063 Reading https://pypi.python.org/simple/pip/
#13 1.200 Couldn't find index page for 'pip' (maybe misspelled?)
#13 1.200 Scanning index of all packages (this may take a while)
#13 1.200 Reading https://pypi.python.org/simple/
#13 1.290 No local packages or download links found for pip
#13 1.291 error: Could not find suitable distribution for Requirement.parse('pip')
------
executor failed running [/bin/sh -c python3.8 -m easy_install pip]: exit code: 1
make: *** [Makefile:13: build] Error 1`

So to make image, in the dockerfile, under "#This is needed for a Python3.8 quirk"

I replaced:
RUN python3.8 -m easy_install pip

with:

RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3.8 get-pip.py

and got that working in WSL using Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions