Specify the base image version to fix dependency missing or version conflict issues when using apt-get.
The originally specified version 3.11-slim is only an alias representing the latest version in the 3.11.x-slim series (for example, on November 22nd, its exact version number was 3.11.14-slim). After the base image is updated, various unexpected errors may occur when executing apt-get.
This commit is contained in:
1 parent
782a933971
commit
889545f356
1 file changed
+1
-1
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
FROM --platform=linux/amd64 python:3.11-slim
|
||||
FROM --platform=linux/amd64 python:3.11.12
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install essential packages and Chrome dependencies
|
||||
|
||||
Reference in new issue
Block a user