Created
November 18, 2016 06:55
-
-
Save azam/c084f54d28d739f164c9697806a62b70 to your computer and use it in GitHub Desktop.
Revisions
-
azam created this gist
Nov 18, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ FROM anapsix/alpine-java:8 RUN apk --no-cache add --update curl \ && mkdir /dynamodb \ && mkdir /dynamodb/bin \ && cd /dynamodb/bin \ && /usr/bin/curl -L http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest | /bin/tar xz \ && apk del curl EXPOSE 8000 WORKDIR /dynamodb/data ENTRYPOINT ["java", "-Djava.library.path=/dynamodb/bin/DynamoDBLocal_lib", "-jar", "/dynamodb/bin/DynamoDBLocal.jar", "-port", "8000", "-dbPath", "/dynamodb/data"] VOLUME ["/dynamodb/data"]