Skip to content

Commit e4df29f

Browse files
authored
Updated dockerfile to python 3.13, removed cache from pip3 to reduce size of the docker image (#700)
1 parent 1bfb7aa commit e4df29f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim AS builder
1+
FROM python:3.13-slim AS builder
22

33
ARG linode_cli_version
44

@@ -15,11 +15,11 @@ RUN make requirements
1515

1616
RUN LINODE_CLI_VERSION=$linode_cli_version GITHUB_TOKEN=$github_token make build
1717

18-
FROM python:3.11-slim
18+
FROM python:3.13-slim
1919

2020
COPY --from=builder /src/dist /dist
2121

22-
RUN pip3 install /dist/*.whl boto3
22+
RUN pip3 install --no-cache-dir /dist/*.whl boto3
2323

2424
RUN useradd -ms /bin/bash cli
2525
USER cli:cli

0 commit comments

Comments
 (0)