Skip to content

Instantly share code, notes, and snippets.

@thinktainer
Last active January 23, 2017 15:03
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 thinktainer/43e6613f3308d3a0d74bd7c02f3417f2 to your computer and use it in GitHub Desktop.
Save thinktainer/43e6613f3308d3a0d74bd7c02f3417f2 to your computer and use it in GitHub Desktop.
Dockerfile for fakes3 without licence restriction
FROM alpine:3.5
RUN apk update && apk upgrade && apk --update add \
ruby ruby-rake ruby-io-console \
libstdc++ tzdata ca-certificates \
&& echo 'gem: --no-document' > /etc/gemrc \
&& gem install fakes3 -v 0.2.5 \
&& rm -rf /var/cache/apk/*
RUN mkdir -p /srv
ENTRYPOINT ["/usr/bin/fakes3"]
CMD ["-r", "/srv", "-p", "4569"]
EXPOSE 4569
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment