Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lithops/serverless/backends/k8s/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ def _build_default_runtime(self, docker_image_name):
"""
Builds the default runtime
"""
# Build default runtime using local dokcer
dockerfile = "Dockefile.default-k8s-runtime"
# Build default runtime using local docker
dockerfile = "Dockerfile.default-k8s-runtime"
with open(dockerfile, 'w') as f:
f.write(f"FROM python:{utils.CURRENT_PY_VERSION}-slim-buster\n")
f.write(f"FROM python:{utils.CURRENT_PY_VERSION}-slim-bookworm\n")
f.write(config.DOCKERFILE_DEFAULT)
try:
self.build_runtime(docker_image_name, dockerfile)
Expand Down
18 changes: 9 additions & 9 deletions runtime/kubernetes/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Python 3.6
#FROM python:3.6-slim-buster

# Python 3.7
#FROM python:3.7-slim-buster

# Python 3.8
#FROM python:3.8-slim-buster
#FROM python:3.8-slim-bookworm

# Python 3.9
#FROM python:3.9-slim-buster
#FROM python:3.9-slim-bookworm

# Python 3.10
FROM python:3.10-slim-buster
FROM python:3.10-slim-bookworm

# Python 3.11
#FROM python:3.11-slim-bookworm

# Python 3.12
#FROM python:3.12-slim-bookworm

RUN apt-get update && apt-get install -y \
zip redis-server curl \
Expand Down
Loading