This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SPDX-License-Identifier: GPL-2.0 | |
# | |
# Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. | |
set -e | |
shopt -s nocasematch | |
shopt -s extglob | |
export LC_ALL=C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am qwe7002 on github. | |
* I am qwe7002 (https://keybase.io/qwe7002) on keybase. | |
* I have a public key whose fingerprint is 0528 B669 E283 A486 F341 5080 6059 7C22 A782 B239 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
ENV LANG C.UTF-8 | |
WORKDIR /home/oneanime/ | |
RUN sed -i s/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g /etc/apk/repositories \ | |
&& apk add --no-cache python3 \ | |
&& pip3 install Pillow -i https://mirrors.ustc.edu.cn/pypi/web/simple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest | |
ENV LANG C.UTF-8 | |
WORKDIR /home/SilverBlog/ | |
RUN apk add --no-cache python3 git nano vim bash uwsgi uwsgi-python3 newt \ | |
&& apk add --no-cache --virtual .build-deps musl-dev gcc python3-dev \ | |
&& pip3 install flask hoedown pypinyin pyrss2gen gitpython watchdog \ | |
&& apk del --purge .build-deps |