You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/pull_containers.md
+30-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
-
### Full
1
+
### Using the Full Image
2
2
{% set short_repository = repository.split("/")[1] -%}
3
3
4
+
The Full Images use the base Python Docker images as their parent. These images are based off of Ubuntu and contain a variety of build tools.
5
+
4
6
To pull the latest full version:
5
7
6
8
```bash
@@ -13,7 +15,9 @@ To include it in the dockerfile instead:
13
15
FROM ghcr.io/{{ organization }}/{{ short_repository }}:py{{ python_versions|last }}-LATEST
14
16
```
15
17
16
-
### Slim
18
+
### Using the Slim Image
19
+
20
+
The Slim Images use the base Python Slim Docker images as their parent. These images are very similar to the Full images, but without the build tools. These images are much smaller than their counter parts but are more difficult to compile wheels on.
17
21
18
22
To pull the latest slim version:
19
23
@@ -26,3 +30,27 @@ To include it in the dockerfile instead:
26
30
```dockerfile
27
31
FROM ghcr.io/{{ organization }}/{{ short_repository }}:py{{ python_versions|last }}-slim-LATEST
28
32
```
33
+
34
+
35
+
{% if "alpine" in variants %}
36
+
### Using the Alpine Image
37
+
38
+
The Alpine Images use the base Python Alpine Docker images as their parent. These images use Alpine as their operating system, with musl instead of glibc.
39
+
40
+
In theory these images are smaller than even the slim images, but this amounts to less than 30mb difference. Additional Python libraries tend not to be super well tested on Alpine. These images should be used with care and testing until this ecosystem matures.
0 commit comments