boenshao opened a new pull request, #24497:
URL: https://github.com/apache/superset/pull/24497

   ### SUMMARY
   
   The `slim` Python images are based on the latest Debian release, which 
changes every 5 years.
   
   Debian 12 Bookworm was released two weeks ago and I've seen some projects 
break because the APT packages they relied on are not available anymore.
   
   As Superset does use `apt-get` during the build, it's better to pin the 
underlying Debian base image. This probably won't be an issue for another 5 
years though...
   
   ### TESTING INSTRUCTIONS
   
   Manually build from the `Dockerfile`,
   
   ```
   docker build --target lean -t superset .
   ```
   
   In stdout, we should see that the image is built from `3.9-slim-bookworm`,
   
   ```
   Sending build context to Docker daemon    127MB
   Step 1/31 : ARG PY_VER=3.9-slim-bookworm
   ```
   
   And the build should finish without error.
   
   ```
   Successfully tagged superset:latest
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to