You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "boenshao (via GitHub)" <gi...@apache.org> on 2023/06/23 09:12:14 UTC

[GitHub] [superset] boenshao opened a new pull request, #24497: build(docker): pin the underlying debain base image

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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] craig-rueda merged pull request #24497: build(docker): pin the underlying debain base image

Posted by "craig-rueda (via GitHub)" <gi...@apache.org>.
craig-rueda merged PR #24497:
URL: https://github.com/apache/superset/pull/24497


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org