Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
beagle-rcache-image
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
market
beagle-rcache-image
Commits
8f4947f7
Commit
8f4947f7
authored
Jan 10, 2023
by
罗永亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update entrypoint.sh, rcache.conf, .beagle/dockerfile files
parent
75c7ae8a
Pipeline
#91754
canceled with stage
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
.beagle/dockerfile
.beagle/dockerfile
+0
-3
entrypoint.sh
entrypoint.sh
+1
-1
rcache.conf
rcache.conf
+1
-1
No files found.
.beagle/dockerfile
View file @
8f4947f7
...
...
@@ -23,7 +23,6 @@ COPY --from=builder /usr/local/bin/rcache-server /usr/local/bin/rcache-server
COPY
--from=builder /usr/local/bin/rcache-cli /usr/local/bin/rcache-cli
RUN
sed
-i
's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g'
/etc/apk/repositories
&&
\
addgroup
-S
-g
1000 rcache
&&
adduser
-S
-G
rcache
-u
1000 rcache
&&
\
apk add
--no-cache
bash
COPY
rcache.conf /etc/rcache/rcache.conf
...
...
@@ -34,7 +33,6 @@ COPY setupMasterSlave.sh /usr/bin/setupMasterSlave.sh
COPY
healthcheck.sh /usr/bin/healthcheck.sh
RUN
chown
-R
rcache:rcache /etc/rcache
VOLUME
["/data"]
...
...
@@ -42,6 +40,5 @@ WORKDIR /data
EXPOSE
6379
USER
1000
ENTRYPOINT
["/usr/bin/entrypoint.sh"]
entrypoint.sh
View file @
8f4947f7
...
...
@@ -15,7 +15,7 @@ apply_permissions() {
common_operation
()
{
mkdir
-p
"
${
DATA_DIR
}
"
mkdir
-p
"/etc/rcache/external.conf.d"
touch
-p
"/etc/rcache/external.conf.d/rcache-additional.conf"
touch
"/etc/rcache/external.conf.d/rcache-additional.conf"
}
set_rcache_password
()
{
...
...
rcache.conf
View file @
8f4947f7
...
...
@@ -4,4 +4,4 @@ timeout 0
tcp
-
keepalive
300
daemonize
no
supervised
no
pidfile
/
var
/
run
/
r
edis
.
pid
pidfile
/
var
/
run
/
r
cache
.
pid
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment