Skip to content

Commit 963eab5

Browse files
authored
Merge pull request #4 from cicirello/doc-updates
Documentation update related to changes in one of the base images
2 parents 06650e7 + 30f6a92 commit 963eab5

2 files changed

Lines changed: 20 additions & 7 deletions

File tree

Dockerfile

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
FROM cicirello/pyaction-lite:latest
2-
# FROM cicirello/pyaction:latest
3-
# FROM ghcr.io/cicirello/pyaction-lite:latest
4-
# FROM ghcr.io/cicirello/pyaction:latest
1+
# If all you need is Python 3, use:
2+
FROM cicirello/pyaction-lite:3
3+
4+
# If you need Python 3 and the GitHub CLI, then use:
5+
# FROM cicirello/pyaction:4
6+
7+
# If Python 3 + git is sufficient, then use:
8+
# FROM cicirello/pyaction:3
9+
10+
# To pull from the GitHub Container Registry instead, use one of these:
11+
# FROM ghcr.io/cicirello/pyaction-lite:3
12+
# FROM ghcr.io/cicirello/pyaction:4
13+
# FROM ghcr.io/cicirello/pyaction:3
514

615
COPY entrypoint.py /entrypoint.py
716
ENTRYPOINT ["/entrypoint.py"]

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ Registry. Uncomment/comment as appropriate in the Dockerfile
4545
as desired. Or if you'd rather not pull one of my images, you can
4646
see the source repository for the details. Here are the options
4747
found in the Dockerfile comments:
48-
* An image with Alpine Linux and Python only to keep image small for fast loading: `FROM cicirello/pyaction-lite:latest`
49-
* An image with Alpine Linux, Python, and git, which is also relatively small: `FROM cicirello/pyaction:latest`
50-
* To pull from the Github Container Registry instead of Docker Hub: `FROM ghcr.io/cicirello/pyaction-lite:latest` (and likewise for the other image).
48+
* An image with Alpine Linux and Python only to keep image small for fast loading: `FROM cicirello/pyaction-lite:3`
49+
* An image with Alpine Linux, Python, and git, which is also relatively small: `FROM cicirello/pyaction:3`
50+
* Beginning with version 4, the pyaction image no longer uses Alpine as the
51+
base. It now uses python:3-slim, which is built on Debian (the slim version is
52+
small but not nearly as small as Alpine), on
53+
which we have installed the GitHub CLI : `FROM cicirello/pyaction:4`
54+
* To pull from the Github Container Registry instead of Docker Hub: `FROM ghcr.io/cicirello/pyaction:4` (and likewise for the other images).
5155

5256
The source repositories for these images:
5357
* https://github.com/cicirello/pyaction-lite

0 commit comments

Comments
 (0)