Browse Source

Make entrypoint script always executable

pull/11600/head
99 3 years ago
parent
commit
b462e59ffc
  1. 2
      Dockerfile

2
Dockerfile

@ -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…
Cancel
Save