Skip to content

Commit

Permalink
Upgrade Dockerfile FROM to latest Python on Alpine.
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Feb 1, 2022
1 parent 3b5e430 commit 7c772a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM hackerkid/zulip-archive
FROM python:3-alpine

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

COPY . /zulip-archive-action/

ENTRYPOINT ["/zulip-archive-action/entrypoint.sh"]
ENTRYPOINT ["sh", "/zulip-archive-action/entrypoint.sh"]
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ virtualenv -p python3 .
source bin/activate
pip3 install zulip==0.6.3
pip3 install pyyaml==5.2
# crudini is not available as an Alpine pkg, so we install via pip.
pip3 install crudini

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

0 comments on commit 7c772a6

Please sign in to comment.