blob: f90f055394b23d2d4c817afcd67727d46fbe01a4 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash -ex
DOCKER=${DOCKER:-`which docker 2>/dev/null || which podman 2>/dev/null`}
${DOCKER} build -t httpd_memcached - <<EOF
FROM quay.io/centos/centos:stream8
RUN yum install -y memcached
CMD /usr/bin/memcached -u memcached -v
EOF
${DOCKER} run -d -p 11211:11211 httpd_memcached
|