summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: e7c68752d1266f0db7eb6fdac55b199187bff33b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM fedora:28
MAINTAINER http://fedoraproject.org/wiki/Cloud

RUN dnf -y update && dnf clean all
RUN dnf -y install memcached        \
&& dnf clean all

EXPOSE 11211

# Simple startup script to avoid some issues observed with container
# restart
ADD run-memcached.sh /run-memcached.sh
RUN chmod -v +x /run-memcached.sh

VOLUME ["/etc/memcached.d", "/var/run/memcached"]
CMD ["/run-memcached.sh"]