Skip to content

Commit

Permalink
Using aliyun instead
Browse files Browse the repository at this point in the history
  • Loading branch information
orangedeng committed Oct 21, 2021
1 parent ebb8c41 commit c557ba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM alpine:3
RUN apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && apk del tzdata
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
apk add tzdata && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && apk del tzdata
COPY bin/pdf-sender /pdf-sender
COPY package/init.yml /etc/pdf-sender.yml
ENTRYPOINT ["/pdf-sender"]
Expand Down

0 comments on commit c557ba2

Please sign in to comment.