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

Add slim docker image #2091

Merged
merged 6 commits into from
Jan 28, 2022
Merged

Add slim docker image #2091

merged 6 commits into from
Jan 28, 2022

Conversation

banesullivan
Copy link
Member

@banesullivan banesullivan commented Jan 28, 2022

Partially addresses #2090

This adds a second docker image to the container registry using the python:3.9-slim base image to ship a smaller image with PyVista installed and ready for plotting but without Jupyter or extra dependencies. This new image has a size of 529 MB (when pulled from ghcr.io)

This image is currently published (from this PR) as:

docker pull ghcr.io/pyvista/pyvista:pr-2091-slim

On main it will be:

docker pull ghcr.io/pyvista/pyvista:main-slim

On releases, it will be:

docker pull ghcr.io/pyvista/pyvista:v0.3x.x-slim

or

docker pull ghcr.io/pyvista/pyvista:latest-slim

@github-actions github-actions bot added docker documentation Anything related to the documentation/website maintenance Low-impact maintenance activity labels Jan 28, 2022
@codecov
Copy link

codecov bot commented Jan 28, 2022

Codecov Report

Merging #2091 (b0228e2) into main (677f06c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2091   +/-   ##
=======================================
  Coverage   93.07%   93.07%           
=======================================
  Files          74       74           
  Lines       15548    15548           
=======================================
  Hits        14471    14471           
  Misses       1077     1077           

@banesullivan banesullivan marked this pull request as ready for review January 28, 2022 03:02
@banesullivan banesullivan merged commit 1128c8d into main Jan 28, 2022
@banesullivan banesullivan deleted the maint/docker-optimize branch January 28, 2022 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker documentation Anything related to the documentation/website maintenance Low-impact maintenance activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant