Skip to content

Instantly share code, notes, and snippets.

@KowalczykBartek
Created August 7, 2018 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KowalczykBartek/af8fe10037d21a2a961bad2f21d54a71 to your computer and use it in GitHub Desktop.
Save KowalczykBartek/af8fe10037d21a2a961bad2f21d54a71 to your computer and use it in GitHub Desktop.
Dynomite Dockerfile
FROM ubuntu:latest
MAINTAINER Bartek Kowalczyk "bkowalczyyk@gmail.com"
RUN apt-get update -y
RUN apt-get install gdb -y
RUN apt-get install telnet -y
RUN apt-get install redis-server -y
RUN apt-get install memcached -y
RUN apt-get install -y autoconf build-essential dh-autoreconf git libssl-dev libtool -y
RUN git clone https://github.com/KowalczykBartek/dynomite.git
WORKDIR dynomite/
RUN git checkout bug-fix/550
ENV CFLAGS="-ggdb3 -O0"
RUN autoreconf -fvi
RUN ./configure
RUN make
RUN redis-server --port 8889 &
RUN memcached --port 8888 &
EXPOSE 8102
COPY configuration-file.yaml /dynomite/conf/
CMD ["src/dynomite", "-c conf/configuration-file.yaml"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment