dbx icon indicating copy to clipboard operation
dbx copied to clipboard

python-3.8-stretch docker image does not exist in python_basic template with gitlab cicd.

Open j-4 opened this issue 2 years ago • 0 comments
trafficstars

Expected Behavior

The following command sets up the python_basic template with a .gitlab-ci.yml

dbx init --template=python_basic \
    -p "cicd_tool=GitLab" \ 
    ....

I would expect that the Gitlab CI/CD runs.

Current Behavior

WARNING: Failed to pull image with policy "always": Error response from daemon: manifest for python:3.8-stretch not found: manifest unknown: manifest unknown (manager.go:237:1s)
ERROR: Job failed: failed to pull image "python:3.8-stretch" with specified policies [always]: Error response from daemon: manifest for python:3.8-stretch not found: manifest unknown: manifest unknown (manager.go:237:1s)

A search on Docker Hub shows, that this tag does not exist: https://hub.docker.com/_/python/tags?page=1&name=stretch

Steps to Reproduce (for bugs)

Context

I used and tested python:3.8-bullseye in all stages of https://github.com/databrickslabs/dbx/blob/main/dbx/templates/projects/python_basic/components/.gitlab-ci.yml which worked nicely.

Your Environment

  • dbx version used: [dbx][2022-12-22 10:34:49.730] 🧱 Databricks eXtensions aka dbx, version ~> 0.8.7
  • GitLab Community Edition 15.6.2
  • Databricks Runtime version:

j-4 avatar Dec 22 '22 09:12 j-4