Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended Docker image does not contain Python 3.7 #5553

Closed
jasonaowen opened this issue Apr 1, 2019 · 3 comments
Closed

Recommended Docker image does not contain Python 3.7 #5553

jasonaowen opened this issue Apr 1, 2019 · 3 comments
Labels
Bug A bug

Comments

@jasonaowen
Copy link

Details

The instructions for setting up a Docker build environment specify using the latest image:

To get started using Docker for build environments, you’ll need to pull down at least one build image. For example, to pull down our latest image:

docker pull readthedocs/build:latest

The default image used by our build servers is readthedocs/build:latest. This would be a good place to start testing as the latest version could operate differently. See DOCKER_IMAGE below for setting this configuration option.

Attempting to build with that image fails due to the image not including Python 3.7.

Looking at the Docker Hub image tags, it appears that the latest tag hasn't been updated in nearly a year, but there are several other, more recent tags, including stable.

Expected Result

Following the instructions to build the sample data (combined with the instructions on setting up a Docker build environment) results in a successful build.

Actual Result

The build failed, with the error message /bin/sh: 1: python3.7: not found.

@humitos
Copy link
Member

humitos commented Apr 1, 2019

I can confirm this is an issue. I just downloaded 6b9ab0a5ddaf and it does not contain python3.7.

Although, there is something weird since it says the image was built 12 months ago

$ docker images
REPOSITORY                                      TAG                 IMAGE ID            CREATED             SIZE
readthedocs/build                               latest              6b9ab0a5ddaf        12 months ago       8.86GB

So, it seems they are not properly tagged.

@stale
Copy link

stale bot commented May 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: stale Issue will be considered inactive soon label May 16, 2019
@stsewd stsewd removed the Status: stale Issue will be considered inactive soon label May 16, 2019
@humitos
Copy link
Member

humitos commented May 17, 2019

I added a rule to our Docker Hub repository that matches 5.0.x to latest. This should not be an issue anymore.

@humitos humitos closed this as completed May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug
Projects
None yet
Development

No branches or pull requests

3 participants