mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
Merge pull request #5309 from ywk253100/180713_redis
Fix permission deny issue when Redis starting
This commit is contained in:
commit
bd92b165c8
@ -1,12 +1,10 @@
|
||||
FROM vmware/photon:1.0
|
||||
|
||||
RUN tdnf distro-sync -y \
|
||||
&& tdnf install -y redis sudo \
|
||||
&& mkdir /data \
|
||||
&& chown redis:redis /data
|
||||
&& tdnf install -y redis sudo
|
||||
|
||||
VOLUME /data
|
||||
WORKDIR /data
|
||||
VOLUME /var/lib/redis
|
||||
WORKDIR /var/lib/redis
|
||||
COPY docker-entrypoint.sh /usr/bin/
|
||||
COPY redis.conf /etc/redis.conf
|
||||
RUN chmod +x /usr/bin/docker-entrypoint.sh \
|
||||
|
Loading…
Reference in New Issue
Block a user