MIDS-scaling-up / v3

42 stars 49 forks source link

HW2 - `Package 'python-dev' has no installation candidate` #20

Open sotoodaa-ucb opened 2 years ago

sotoodaa-ucb commented 2 years ago

HW2 Dockerfile results in execution error upon building the image docker build -t test . with error message:

Package 'python-dev' has no installation candidate

Issue is resolved when modifying python-dev to python-dev-is-python3 in the RUN step.

RUN apt-get update \
  && apt-get install -y --no-install-recommends \
    build-essential \
    curl \
    git \
    python3-pip \
    python-setuptools \
    python-dev-is-python3 \

This issue and resolution is also identified in the Google Doc.