Skip to content

Commit

Permalink
fix warning for missing tzinfo in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
menkej committed Jan 15, 2021
1 parent e4ac4cd commit 6c2a7e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## Unreleased

- fix: smtp server_hostname cannot be an empty [#227](https://github.com/icloud-photos-downloader/icloud_photos_downloader/issues/227)
- fix: Warning for missing `tzinfo` in Docker image removed by adding `tzinfo`-package.
[#286](https://github.com/icloud-photos-downloader/icloud_photos_downloader/pull/286)

## 1.7.1 (2020-11-15)

Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
FROM alpine:latest

RUN set -xe && \
apk add --no-cache python3 && \
apk add --no-cache python3 tzdata && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
rm -r /root/.cache

RUN ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime

ARG ICLOUDPD_VERSION
COPY dist/* /tmp
RUN set -xe \
Expand Down

0 comments on commit 6c2a7e7

Please sign in to comment.