@@ -45,9 +45,9 @@ packages such as NumPy, Pandas and Dash/Plotly, on top of the native images
4545maintained by the
4646[ Docker Python project] ( https://github.com/docker-library/python ) :
4747* [ Python 3.12-rc] ( https://github.com/docker-library/python/tree/master/3.12-rc/ )
48- + [ Python 3.12-rc - Debian Bookworm] ( https://github.com/docker-library/python/tree/master/3.12-rc /bookworm )
49- + [ Python 3.12-rc - Debian Bullseye] ( https://github.com/docker-library/python/tree/master/3.12-rc /bullseye )
50- + [ Python 3.12-rc - Alpine 3.18] ( https://github.com/docker-library/python/tree/master/3.12-rc /alpine3.18 )
48+ + [ Python 3.12 - Debian Bookworm] ( https://github.com/docker-library/python/tree/master/3.12/bookworm )
49+ + [ Python 3.12 - Debian Bullseye] ( https://github.com/docker-library/python/tree/master/3.12/bullseye )
50+ + [ Python 3.12 - Alpine 3.18] ( https://github.com/docker-library/python/tree/master/3.12/alpine3.18 )
5151* [ Python 3.11] ( https://github.com/docker-library/python/tree/master/3.11/ )
5252 + [ Python 3.11 - Debian Bookworm] ( https://github.com/docker-library/python/tree/master/3.11/bookworm )
5353 + [ Python 3.11 - Debian Bullseye] ( https://github.com/docker-library/python/tree/master/3.11/bullseye )
@@ -98,10 +98,10 @@ of Dash applications.
9898 https://github.com/machine-learning-helpers/docker-python-light
9999
100100* [ Native Python OCI images] ( https://github.com/docker-library/python ) :
101- + [ Python 3.12-rc ] ( https://github.com/docker-library/python/tree/master/3.12-rc )
102- - https://github.com/docker-library/python/tree/master/3.12-rc /bookworm
103- - https://github.com/docker-library/python/tree/master/3.12-rc /bullseye
104- - https://github.com/docker-library/python/tree/master/3.12-rc /alpine3.18
101+ + [ Python 3.12] ( https://github.com/docker-library/python/tree/master/3.12 )
102+ - https://github.com/docker-library/python/tree/master/3.12/bookworm
103+ - https://github.com/docker-library/python/tree/master/3.12/bullseye
104+ - https://github.com/docker-library/python/tree/master/3.12/alpine3.18
105105 + [ Python 3.11] ( https://github.com/docker-library/python/tree/master/3.11 )
106106 - https://github.com/docker-library/python/tree/master/3.11/bookworm
107107 - https://github.com/docker-library/python/tree/master/3.11/bullseye
@@ -158,6 +158,19 @@ $ cd docker-python-light
158158```
159159
160160* Build the OCI images (here with Docker, but any other tool may be used):
161+ + Python 3.12
162+ - ` py312-bookworm ` tag: Debian Bookworm / Python 3.12:
163+ ``` bash
164+ $ docker build -t infrahelpers/python-light:py312-bookworm python-3.12-bookworm
165+ ```
166+ - `py312-bullseye` tag: Debian Bullseye / Python 3.12:
167+ ``` bash
168+ $ docker build -t infrahelpers/python-light:py312-bullseye python-3.12-bullseye
169+ ```
170+ - `py312-alp318` tag: Alpine 3.18 / Python 3.12:
171+ ``` bash
172+ $ docker build -t infrahelpers/python-light:py312-alp318 python-3.12-alpine-3.18
173+ ```
161174 + Python 3.11
162175 - ` py311-bookworm ` tag: Debian Bookworm / Python 3.11:
163176``` bash
@@ -167,45 +180,36 @@ $ docker build -t infrahelpers/python-light:py311-bookworm python-3.11-bookworm
167180``` bash
168181$ docker build -t infrahelpers/python-light:py311-bullseye python-3.11-bullseye
169182```
170- - `py311-alp317 ` tag: Alpine 3.17 / Python 3.11:
183+ - `py311-alp318 ` tag: Alpine 3.18 / Python 3.11:
171184``` bash
172- $ docker build -t infrahelpers/python-light:py311-alp317 python-3.11-alpine-3.17
185+ $ docker build -t infrahelpers/python-light:py311-alp318 python-3.11-alpine-3.18
173186```
174187 + Python 3.10
175- - ` py310-bullseye ` tag: Debian Bullseye / Python 3.10:
176- ``` bash
177- $ docker build -t infrahelpers/python-light:py310-bullseye python-3.10-bullseye
178- $ docker tag infrahelpers/python-light:py310-bullseye infrahelpers/python-light:latest
179- ```
180- - `py310-buster` tag: Debian Buster / Python 3.10:
188+ - ` py310-bookworm ` tag: Debian Bookworm / Python 3.10:
181189``` bash
182- $ docker build -t infrahelpers/python-light:py310-buster python-3.10-buster
190+ $ docker build -t infrahelpers/python-light:py310-bookworm python-3.10-bookworm
183191```
184- - `alp317-py31011 ` tag: Alpine 3.17 / Python 3.10.11 :
192+ - `py310-bullseye ` tag: Debian Bullseye / Python 3.10:
185193``` bash
186- $ docker build -t infrahelpers/python-light:alp317-py31011 alpine -3.17
194+ $ docker build -t infrahelpers/python-light:py310-bullseye python -3.10-bullseye
187195```
188- - `alp316-py31011` tag: Alpine 3.16 / Python 3.10.11:
196+ + Python 3.9
197+ - ` py39-bookworm ` tag: Debian Bookworm / Python 3.9:
189198``` bash
190- $ docker build -t infrahelpers/python-light:alp316-py31011 alpine -3.16
199+ $ docker build -t infrahelpers/python-light:py39-bookworm python -3.9-bookworm
191200```
192- + Python 3.9
193201 - `py39-bullseye` tag: Debian Bullseye / Python 3.9:
194202``` bash
195203$ docker build -t infrahelpers/python-light:py39-bullseye python-3.9-bullseye
196204```
197- - `py39-buster` tag: Debian Buster / Python 3.9:
205+ + Python 3.8
206+ - ` py38-bookworm ` tags: Debian Bookworm / Python 3.8:
198207``` bash
199- $ docker build -t infrahelpers/python-light:py39-buster python-3.9-buster
208+ $ docker build -t infrahelpers/python-light:py38-bookworm python-3.8-bookworm
200209```
201- + Python 3.8
202210 - `latest`/`py38-bullseye` tags: Debian Bullseye / Python 3.8:
203211``` bash
204212$ docker build -t infrahelpers/python-light:py38-bullseye python-3.8-bullseye
205- ```
206- - `py38-buster` tags: Debian Buster / Python 3.8:
207- ``` bash
208- $ docker build -t infrahelpers/python-light:py38-buster python-3.8-buster
209213```
210214
211215* (Optional) Push the newly built images to Docker Hub.
@@ -214,18 +218,20 @@ $ docker build -t infrahelpers/python-light:py38-buster python-3.8-buster
214218 [ a change on GitHub] ( https://github.com/machine-learning-helpers/docker-python-light/commits/master ) )
215219``` bash
216220$ docker login
221+ $ docker push infrahelpers/python-light:py312-bookworm
222+ $ docker push infrahelpers/python-light:py312-bullseye
223+ $ docker push infrahelpers/python-light:py312-alp318
224+ $ docker push infrahelpers/python-light:py311-bookworm
217225$ docker push infrahelpers/python-light:py311-bullseye
218- $ docker push infrahelpers/python-light:py311-buster
219- $ docker push infrahelpers/python-light:py311-alp317
226+ $ docker push infrahelpers/python-light:py311-alp318
227+ $ docker push infrahelpers/python-light:py310-bookworm
220228$ docker push infrahelpers/python-light:py310-bullseye
221- $ docker push infrahelpers/python-light:latest
222- $ docker push infrahelpers/python-light:py310-buster
229+ $ docker push infrahelpers/python-light:py39-bookworm
223230$ docker push infrahelpers/python-light:py39-bullseye
224- $ docker push infrahelpers/python-light:py39-buster
231+ $ docker push infrahelpers/python-light:py38-bookworm
225232$ docker push infrahelpers/python-light:py38-bullseye
226- $ docker push infrahelpers/python-light:py38-buster
227- $ docker push infrahelpers/python-light:alp317-py31011
228- $ docker push infrahelpers/python-light:alp316-py31011
233+ $ docker push infrahelpers/python-light:alp318-py311
234+ $ docker push infrahelpers/python-light:alp317-py310
229235```
230236
231237* (Optional) Push the newly built images to Quay.io.
@@ -238,53 +244,35 @@ $ docker login quay.io
238244```
239245 + Python 3.11:
240246``` bash
247+ $ docker tag infrahelpers/python-light:py311-bookworm quay.io/artificialintelligence/python-light:py311-bookworm
248+ $ docker push quay.io/artificialintelligence/python-light:py311-bookworm
249+ #
241250$ docker tag infrahelpers/python-light:py311-bullseye quay.io/artificialintelligence/python-light:py311-bullseye
242251$ docker push quay.io/artificialintelligence/python-light:py311-bullseye
243- #
244- $ docker tag infrahelpers/python-light:py311-buster quay.io/artificialintelligence/python-light:py311-buster
245- $ docker push quay.io/artificialintelligence/python-light:py311-buster
246- #
247- $ docker tag infrahelpers/python-light:py311-alp317 quay.io/artificialintelligence/python-light:py311-alp317
248- $ docker push quay.io/artificialintelligence/python-light:py311-alp317
249252```
250253 + Python 3.10:
251254``` bash
255+ $ docker tag infrahelpers/python-light:py310-bookworm quay.io/artificialintelligence/python-light:py310-bookworm
256+ $ docker push quay.io/artificialintelligence/python-light:py310-bookworm
257+ #
252258$ docker tag infrahelpers/python-light:py310-bullseye quay.io/artificialintelligence/python-light:py310-bullseye
253259$ docker push quay.io/artificialintelligence/python-light:py310-bullseye
254- #
255- $ docker tag infrahelpers/python-light:py310-buster quay.io/artificialintelligence/python-light:py310-buster
256- $ docker push quay.io/artificialintelligence/python-light:py310-buster
257- #
258- $ docker tag infrahelpers/python-light:py310-alp317 quay.io/artificialintelligence/python-light:py310-alp317
259- $ docker push quay.io/artificialintelligence/python-light:py310-alp317
260260```
261261 + Python 3.9:
262262``` bash
263+ $ docker tag infrahelpers/python-light:py39-bookworm quay.io/artificialintelligence/python-light:py39-bookworm
264+ $ docker push quay.io/artificialintelligence/python-light:py39-bookworm
265+ #
263266$ docker tag infrahelpers/python-light:py39-bullseye quay.io/artificialintelligence/python-light:py39-bullseye
264267$ docker push quay.io/artificialintelligence/python-light:py39-bullseye
265- #
266- $ docker tag infrahelpers/python-light:py39-buster quay.io/artificialintelligence/python-light:py39-buster
267- $ docker push quay.io/artificialintelligence/python-light:py39-buster
268- #
269- $ docker tag infrahelpers/python-light:py39-alp317 quay.io/artificialintelligence/python-light:py39-alp317
270- $ docker push quay.io/artificialintelligence/python-light:py39-alp317
271- #
272- $ docker tag infrahelpers/python-light:alp317-py3104 quay.io/artificialintelligence/python-light:alp317-py3104
273- $ docker push quay.io/artificialintelligence/python-light:alp317-py3104
274- #
275- $ docker tag infrahelpers/python-light:alp315-py397 quay.io/artificialintelligence/python-light:alp315-py397
276- $ docker push quay.io/artificialintelligence/python-light:alp315-py397
277268```
278269 + Python 3.8:
279270``` bash
271+ $ docker tag infrahelpers/python-light:py38-bookworm quay.io/artificialintelligence/python-light:py38-bookworm
272+ $ docker push quay.io/artificialintelligence/python-light:py38-bookworm
273+ #
280274$ docker tag infrahelpers/python-light:py38-bullseye quay.io/artificialintelligence/python-light:py38-bullseye
281275$ docker push quay.io/artificialintelligence/python-light:py38-bullseye
282- #
283- $ docker tag infrahelpers/python-light:py38-buster quay.io/artificialintelligence/python-light:py38-buster
284- $ docker push quay.io/artificialintelligence/python-light:py38-buster
285- #
286- $ docker tag infrahelpers/python-light:py38-alp317 quay.io/artificialintelligence/python-light:py38-alp317
287- $ docker push quay.io/artificialintelligence/python-light:py38-alp317
288276```
289277
290278* Shutdown the Docker image
0 commit comments