Skip to content

Commit 79f21aa

Browse files
committed
Upgrade docker base image to 3.14-rc-slim, in chapter 9
1 parent ca7f0ec commit 79f21aa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

chapter_09_docker.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ next to the _src/_ directory we made earlier:
496496
====
497497
[source,dockerfile]
498498
----
499-
FROM python:3.14-slim # <1>
499+
FROM python:3.14-rc-slim # <1>
500500
501501
COPY src /src # <2>
502502
@@ -517,6 +517,8 @@ CMD ["python", "manage.py", "runserver"] # <4>
517517
called "slim" because it's as small as possible.
518518
It's based on a popular version of Linux called Debian,
519519
and of course it comes with Python already installed on it.
520+
By the time you're reading this book, 3.14 should be past the release candidate stage,
521+
so you should use `3.14-slim`.
520522

521523
<2> The `COPY` instruction (the uppercase words are called "instructions")
522524
lets you copy files from your own computer into the container image.
@@ -675,7 +677,7 @@ and then we can use `pip install` to get Django:
675677
====
676678
[source,dockerfile]
677679
----
678-
FROM python:3.14-slim
680+
FROM python:3.14-rc-slim
679681
680682
RUN python -m venv /venv <1>
681683
ENV PATH="/venv/bin:$PATH" <2>

0 commit comments

Comments
 (0)