Created
August 7, 2018 19:44
-
-
Save KowalczykBartek/af8fe10037d21a2a961bad2f21d54a71 to your computer and use it in GitHub Desktop.
Dynomite Dockerfile
This file contains 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 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