add docker images

This commit is contained in:
2019-01-09 19:26:51 +11:00
commit 5d7ab43784
4 changed files with 97 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM alpine:edge
LABEL AUTHOR=Junv<wahyd4@gmail.com>
RUN apk update && apk add wget bash gnupg --no-cache
WORKDIR /app
#AriaNg
RUN wget -N --no-check-certificate https://github.com/liuzhuoling2011/baidupcs-web/releases/download/3.6.1/BaiduPCS-Go-3.6.1-linux-amd64.zip \
&& unzip BaiduPCS-Go-3.6.1-linux-amd64.zip && rm BaiduPCS-Go-3.6.1-linux-amd64.zip \
&& cd BaiduPCS-Go-3.6.1-linux-amd64 \
&& mv BaiduPCS-Go .. && cd .. \
&& mv BaiduPCS-Go baidupcs \
&& chmod +x baidupcs
EXPOSE 5299
CMD "/app/baidupcs"
+21
View File
@@ -0,0 +1,21 @@
FROM arm32v6/alpine:edge
LABEL AUTHOR=Junv<wahyd4@gmail.com>
RUN apk update && apk add wget bash gnupg --no-cache
WORKDIR /app
#AriaNg
RUN wget -N --no-check-certificate https://github.com/liuzhuoling2011/baidupcs-web/releases/download/3.6.1/BaiduPCS-Go-3.6.1-linux-arm.zip \
&& unzip BaiduPCS-Go-3.6.1-linux-arm.zip && rm BaiduPCS-Go-3.6.1-linux-arm.zip \
&& cd BaiduPCS-Go-3.6.1-linux-arm \
&& mv BaiduPCS-Go .. && cd .. \
&& mv BaiduPCS-Go baidupcs \
&& chmod +x baidupcs
EXPOSE 5299
CMD "/app/baidupcs"
+21
View File
@@ -0,0 +1,21 @@
FROM arm64v8/alpine:edge
LABEL AUTHOR=Junv<wahyd4@gmail.com>
RUN apk update && apk add wget bash gnupg --no-cache
WORKDIR /app
#AriaNg
RUN wget -N --no-check-certificate https://github.com/liuzhuoling2011/baidupcs-web/releases/download/3.6.1/BaiduPCS-Go-3.6.1-linux-arm64.zip \
&& unzip BaiduPCS-Go-3.6.1-linux-arm64.zip && rm BaiduPCS-Go-3.6.1-linux-arm64.zip \
&& cd BaiduPCS-Go-3.6.1-linux-arm64 \
&& mv BaiduPCS-Go .. && cd .. \
&& mv BaiduPCS-Go baidupcs \
&& chmod +x baidupcs
EXPOSE 5299
CMD "/app/baidupcs"
+34
View File
@@ -0,0 +1,34 @@
The Docker image for [BaiduPCS-Web](https://github.com/liuzhuoling2011/baidupcs-web)
## Why
The easiest and simplest way to run this application.
## Run
```bash
docker run -d -p 5299:5299 wahyd4/baidupcs:latest
```
Then open <http://localhost:5299> to enjoy!
## Supported cpu platforms
* amd64
* arm32
* arm64
## More Information
Please go to original productions page:
* [BaiduPCS-Go](https://github.com/iikira/BaiduPCS-Go)
* [baidupcs-web](https://github.com/liuzhuoling2011/baidupcs-web)
### How to login
Refer: https://github.com/iikira/BaiduPCS-Go/wiki/%E5%85%B3%E4%BA%8E-%E8%8E%B7%E5%8F%96%E7%99%BE%E5%BA%A6-BDUSS