build(docker/memcached): use mount dir
This commit is contained in:
parent
37b0369a0c
commit
9e5645879a
@ -1,5 +1,10 @@
|
|||||||
FROM docker.io/memcached:latest
|
FROM docker.io/memcached:latest
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install inotify-tools
|
RUN apt-get update && apt-get -y install inotify-tools
|
||||||
ENTRYPOINT /mnt/fradrive/utils/watchrun.sh "/mnt/fradrive/${CONTAINER_FILE}" "su memcache -s /usr/local/bin/docker-entrypoint.sh"
|
|
||||||
|
ENV MOUNT_DIR /mnt/fradrive
|
||||||
|
WORKDIR ${MOUNT_DIR}
|
||||||
|
|
||||||
|
ENTRYPOINT ${MOUNT_DIR}/utils/watchrun.sh ${CONTAINER_FILE} "su memcache -c /usr/local/bin/docker-entrypoint.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user