Skip to content

Commit

Permalink
Merge pull request #8 from leontius/feature/1.0.3
Browse files Browse the repository at this point in the history
update rrshare bin.
  • Loading branch information
leontius authored Jul 17, 2020
2 parents 3ecf513 + 4d2ef40 commit dfb67dc
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 15 deletions.
Binary file modified .DS_Store
Binary file not shown.
26 changes: 25 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
FROM centos:7
FROM lsiobase/alpine:3.12
USER root
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="blog.auskai.win version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="auska"

ENV GLIBC_VERSION=2.31-r0 TZ=Asia/Shanghai

RUN \
echo "**** install packages ****" && \
apk add --no-cache \
wget \
libstdc++ && \
wget "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-${GLIBC_VERSION}.apk" && \
wget "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VERSION}/glibc-bin-${GLIBC_VERSION}.apk" && \
apk add --allow-untrusted glibc-${GLIBC_VERSION}.apk glibc-bin-${GLIBC_VERSION}.apk && \
apk del wget

COPY ./rrshare /opt/rrshare

RUN chown -R root:root /opt/rrshare/ && \
chmod a+x /opt/rrshare/rrshareweb && \
chmod a+x /opt/rrshare/p4pclient

VOLUME ["/opt/work/store"]
CMD ["sh", "-c", "/opt/rrshare/rrshareweb"]
EXPOSE 3001 6714 30210
VOLUME /mnt /rrshare
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ version: '2'

services:
rrshare:
image: leontius/rrshareweb:latest
image: auska/docker-rrshareweb
restart: always
container_name: rrshare
ports:
- 3001:3001
- 6714:6714
- 30210:30210
volumes:
- ./store:/opt/work/store
Binary file modified rrshare/.DS_Store
Binary file not shown.
Binary file modified rrshare/conf/rrshare.db
Binary file not shown.
3 changes: 2 additions & 1 deletion rrshare/conf/rrshare.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"port" : 3001,

"logpath" : "",
"logqueit" : false,
"loglevel" : 1,
"logpersistday" : 2,
"defaultsavepath" : "f:/store"
"defaultsavepath" : "/opt/work/store"
}
Binary file modified rrshare/rrshareweb
Binary file not shown.
Binary file modified rrshare/web/.DS_Store
Binary file not shown.
8 changes: 4 additions & 4 deletions rrshare/web/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main.css": "static/css/main.7925fcce.css",
"main.css.map": "static/css/main.7925fcce.css.map",
"main.js": "static/js/main.d30188cd.js",
"main.js.map": "static/js/main.d30188cd.js.map"
"main.css": "static/css/main.1066d9e7.css",
"main.css.map": "static/css/main.1066d9e7.css.map",
"main.js": "static/js/main.85f00c62.js",
"main.js.map": "static/js/main.85f00c62.js.map"
}
Binary file modified rrshare/web/build/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion rrshare/web/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>人人影视WEB版</title><link href="/static/css/main.7925fcce.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.d30188cd.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>人人影视WEB版</title><link href="/static/css/main.1066d9e7.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.85f00c62.js"></script></body></html>
2 changes: 1 addition & 1 deletion rrshare/web/build/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions rrshare/web/build/static/css/main.1066d9e7.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions rrshare/web/build/static/css/main.1066d9e7.css.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions rrshare/web/build/static/css/main.7925fcce.css

This file was deleted.

1 change: 0 additions & 1 deletion rrshare/web/build/static/css/main.7925fcce.css.map

This file was deleted.

2 changes: 2 additions & 0 deletions rrshare/web/build/static/js/main.85f00c62.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions rrshare/web/build/static/js/main.85f00c62.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions rrshare/web/build/static/js/main.d30188cd.js

This file was deleted.

1 change: 0 additions & 1 deletion rrshare/web/build/static/js/main.d30188cd.js.map

This file was deleted.

0 comments on commit dfb67dc

Please sign in to comment.