Skip to content

Commit 2b0e483

Browse files
author
xiaoyang.liu
committedFeb 21, 2022
fix bug.
1 parent 9d77e40 commit 2b0e483

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed
 

‎Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Pull base image.
21
FROM jlesage/baseimage-gui:ubuntu-20.04
32

43
ENV ENABLE_CJK_FONT=1
5-
RUN curl https://down.115.com/client/115pc/lin/115pc_1.0.1.6.deb -O /app/115pc_1.0.1.6.deb
4+
RUN add-pkg curl
5+
RUN curl https://down.115.com/client/115pc/lin/115pc_1.0.1.6.deb -o /tmp/115pc_1.0.1.6.deb
66

7-
RUN dpkg -i /app/115pc_1.0.1.6.deb
7+
RUN dpkg -i /tmp/115pc_1.0.1.6.deb
88

99
COPY startapp.sh /startapp.sh
1010

‎README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Build:
2+
3+
```
4+
docker build -t 115pc-docker:1 .
5+
```
6+
7+
Run:
8+
```
9+
docker run --rm -p 5800:5800 -p 5900:5900 115pc-docker:1
10+
```
11+
12+
Then access `http://<ip>:5800`

0 commit comments

Comments
 (0)