Skip to content

Commit

Permalink
feat: add yolks for Python 3.9, 3.10, 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed May 13, 2024
1 parent fa73ce7 commit b54ccc8
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/yolk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
tag: [ "3.12" ]
tag: [ "3.9", "3.10", "3.11", "3.12" ]

runs-on: ubuntu-latest
permissions:
Expand Down
12 changes: 12 additions & 0 deletions yolks/python/3.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.10-slim-bullseye

LABEL maintainer="Endstone <[email protected]>"

RUN adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]
12 changes: 12 additions & 0 deletions yolks/python/3.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.11-slim-bullseye

LABEL maintainer="Endstone <[email protected]>"

RUN adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]
12 changes: 12 additions & 0 deletions yolks/python/3.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM python:3.9-slim-bullseye

LABEL maintainer="Endstone <[email protected]>"

RUN adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/ash", "/entrypoint.sh" ]

0 comments on commit b54ccc8

Please sign in to comment.