Blame Dockerfile

5a4b8a6
FROM registry.fedoraproject.org/fedora:rawhide
b33d552
b33d552
# memcached image for OpenShift.
b33d552
#
b33d552
# Environment:
b33d552
#  * $CACHE_SIZE - Cache size for memcached
b33d552
# Ports:
b33d552
#  * 11211
b33d552
81042c8
ENV NAME=memcached ARCH=x86_64
b33d552
LABEL MAINTAINER "Petr Hracek" <phracek@redhat.com>
b33d552
LABEL summary="High Performance, Distributed Memory Object Cache" \
b33d552
    name="$FGC/$NAME" \
b33d552
    version="0" \
5a4b8a6
    release="3.$DISTTAG" \
b33d552
    architecture="$ARCH" \
b33d552
    com.redhat.component=$NAME \
5a4b8a6
    usage="docker run -p 11211:11211 registry.fedoraproject.org/rawhide/memcached" \
b33d552
    help="Runs memcached, which listens on port 11211. No dependencies. See Help File below for more details." \
b33d552
    description="memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load." \
b33d552
    io.k8s.description="memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load." \
b33d552
    io.k8s.diplay-name="Memcached 1.4 " \
b33d552
    io.openshift.expose-services="11211:memcached" \
b33d552
    io.openshift.tags="memcached"
b33d552
79b840a
RUN dnf -y --nodocs install memcached && \
b33d552
    dnf -y clean all
b33d552
b33d552
ADD files /files
79b840a
ADD root/help.1 /help.1
b33d552
b33d552
EXPOSE 11211
b33d552
b33d552
# memcached will be run under standard user on Fedora
b33d552
USER 1000
b33d552
b33d552
CMD ["/files/memcached.sh"]