mirror of https://github.com/status-im/consul.git
Merge pull request #11600 from hashicorp/fix_entrypoint_main
Make entrypoint script always executable
This commit is contained in:
commit
7ad6ab3425
|
@ -54,7 +54,9 @@ EXPOSE 8500 8600 8600/udp
|
||||||
# Consul doesn't need root privileges so we run it as the consul user from the
|
# Consul doesn't need root privileges so we run it as the consul user from the
|
||||||
# entry point script. The entry point script also uses dumb-init as the top-level
|
# entry point script. The entry point script also uses dumb-init as the top-level
|
||||||
# process to reap any zombie processes created by Consul sub-processes.
|
# process to reap any zombie processes created by Consul sub-processes.
|
||||||
|
|
||||||
COPY .release/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
COPY .release/docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||||
|
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
|
|
||||||
# By default you'll get an insecure single-node development server that stores
|
# By default you'll get an insecure single-node development server that stores
|
||||||
|
|
Loading…
Reference in New Issue