I’m running into issues building my docker container in a deploy script. I’m running a job that uses the ubuntu-2004 machine executor.
To simply the issue, I’ve simplified my docker container to the barebones that (seem to) cause it to fail (at least, so far → I’m only on build step 2 of 27).
The first two steps (that RUN step is where it fails):
FROM python:3.8 RUN apt-get update && \ apt-get install -yq \ python2.7-dev python3.7-dev \ python-pip \
It fails with an exit code of 100 and doesn’t give a reason that makes sense to me (this script works fine locally). Here’s the relevant stacktrace:
Package python-pip is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: python3-pip E: Unable to locate package python3.7-dev E: Couldn't find any package by glob 'python3.7-dev' E: Couldn't find any package by regex 'python3.7-dev' E: Package 'python-pip' has no installation candidate E: Unable to locate package USER E: Unable to locate package dev The command '/bin/sh -c apt-get update && apt-get install -yq python2.7-dev python3.7-dev python-pip USER dev' returned a non-zero code: 100
I’ve been wracking my brain on this for two days now to no avail, and I would absolutely appreciate some insight into the problem.