FROM kong:2.8.1 USER root COPY kong.yml.template /var/lib/kong/kong.yml.template COPY --chmod=755 docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh USER kong ENTRYPOINT ["/docker-entrypoint-wrapper.sh"] CMD ["kong", "docker-start"]