mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-25 20:07:55 +00:00
RUN chmod +x /etc/service/memcached/run is needed.
otherwise i get the error: ``` fatal: unable to start ./run: access denied ```
This commit is contained in:
@@ -170,6 +170,7 @@ In `Dockerfile`:
|
||||
|
||||
RUN mkdir /etc/service/memcached
|
||||
ADD memcached.sh /etc/service/memcached/run
|
||||
RUN chmod +x /etc/service/memcached/run
|
||||
|
||||
Note that the shell script must run the daemon **without letting it daemonize/fork it**. Usually, daemons provide a command line flag or a config file option for that.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user