Add dynamodb

This commit is contained in:
Cadey Ratio 2016-08-19 17:00:02 -07:00
parent 2765e61f36
commit 242c7a8358
1 changed files with 14 additions and 0 deletions

14
net/dynamodb/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM openjdk:7-jre-alpine
RUN mkdir /var/dynamodb_wd
RUN mkdir /var/dynamodb_local
WORKDIR /var/dynamodb_wd
RUN wget -q http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest.tar.gz && \
tar zxf dynamodb_local_latest.tar.gz && rm dynamodb_local_latest.tar.gz
EXPOSE 8000
VOLUME /var/dynamodb_wd
ENTRYPOINT ["java", "-Djava.library.path=.", "-jar", "DynamoDBLocal.jar", "-port", "8000"]