fixed memcached container build

This commit is contained in:
André Bauer 2017-11-30 10:48:58 +01:00 committed by GitHub
parent fe319eb46f
commit 4636c98d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,9 @@ LABEL org.label-schema.build-date="$BUILD_DATE" \
org.label-schema.docker.cmd="sysctl -w vm.max_map_count=262144;docker-compose up" org.label-schema.docker.cmd="sysctl -w vm.max_map_count=262144;docker-compose up"
# docker init # docker init
USER root
COPY containers/zammad-memcached/docker-entrypoint.sh / COPY containers/zammad-memcached/docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh
USER memcache
ENTRYPOINT ["/docker-entrypoint.sh"] ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["zammad-memcached"] CMD ["zammad-memcached"]