Skip to content

Commit 7c772a6

Browse files
authored
Upgrade Dockerfile FROM to latest Python on Alpine.
1 parent 3b5e430 commit 7c772a6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM hackerkid/zulip-archive
1+
FROM python:3-alpine
22

3-
RUN mkdir -p /zulip-archive
3+
RUN mkdir -p /zulip-archive && apk update && apk add git curl
44

55
COPY . /zulip-archive-action/
66

7-
ENTRYPOINT ["/zulip-archive-action/entrypoint.sh"]
7+
ENTRYPOINT ["sh", "/zulip-archive-action/entrypoint.sh"]

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ virtualenv -p python3 .
3030
source bin/activate
3131
pip3 install zulip==0.6.3
3232
pip3 install pyyaml==5.2
33+
# crudini is not available as an Alpine pkg, so we install via pip.
34+
pip3 install crudini
3335

3436
# GitHub pages API is in Preview mode. This might break in future.
3537
auth_header="Authorization: Bearer ${github_personal_access_token}"

0 commit comments

Comments
 (0)