Last active
February 12, 2017 23:49
-
-
Save cjlarose/02dffa0ad6dbecf41063c62e23db5753 to your computer and use it in GitHub Desktop.
localstack Dockerfile
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 echo "deb http://httpredir.debian.org/debian jessie-backports main" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y build-essential python python-pip python-dev curl maven | |
RUN apt-get install -t jessie-backports -y ca-certificates-java openjdk-8-jre-headless openjdk-8-jdk-headless | |
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - | |
RUN apt-get install -y nodejs | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
COPY . /usr/src/app | |
RUN make install | |
EXPOSE 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 | |
ENV ES_JAVA_OPTS="-Des.insecure.allow.root=true" | |
CMD make infra |
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
sudo docker run -d -p 4567-4576:4567-4576 localstack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment