Skip to content

Commit

Permalink
fix: create cache folder for kubectl
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPokorny committed Oct 4, 2024
1 parent b6c64d2 commit b1020f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ ARG PYTHON_VERSION="3.12"
FROM docker.io/python:${PYTHON_VERSION} AS builder
RUN apt-get update &&\
apt-get install --no-install-suggests --no-install-recommends --yes pipx

ENV PATH="/root/.local/bin:${PATH}"
RUN pipx install poetry &&\
pipx inject poetry poetry-plugin-bundle
Expand All @@ -18,4 +17,6 @@ RUN apt-get update &&\
rm -rf /var/lib/apt/lists/*
COPY --from=builder /venv /venv
ENV PATH="/venv/bin:${PATH}"
RUN mkdir /.kube && chmod 777 /.kube
USER 1001050000
ENTRYPOINT ["python", "-m", "code_interpreter"]

0 comments on commit b1020f4

Please sign in to comment.