- Clone https://github.com/ducky-hong/arcus-memcached
- Checkout to branch
feature/sh-to-bash
. - Add this Dockerfile to the project root.
docker build -t cs494/arcus-memcached .
Last active
May 3, 2016 17:24
-
-
Save ducky-hong/6008d4a0b7a8a6c1de4897a05c6078b2 to your computer and use it in GitHub Desktop.
arcus-memcache w/ docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
RUN groupadd -r memcache && useradd -r -g memcache memcache | |
RUN apt-get update && apt-get install -y --no-install-recommends \ | |
libevent-2.0-5 \ | |
curl gcc libc6-dev libevent-dev make perl git libtool automake autoconf \ | |
&& rm -rf /var/lib/apt/lists/* | |
ADD . /arcus-memcached | |
WORKDIR /arcus-memcached | |
# touch all files to avoid 'Clock skew detected' during make. | |
RUN set -x \ | |
&& find . -exec touch {} \; \ | |
&& ./config/autorun.sh \ | |
&& ./configure \ | |
&& make && make install | |
USER memcache | |
EXPOSE 11211 | |
CMD ["memcached", "-E", "/usr/local/lib/default_engine.so"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment