Skip to content

Commit

Permalink
Use camjackson fork of fakes3
Browse files Browse the repository at this point in the history
  • Loading branch information
LoreleiAurora committed Dec 27, 2017
1 parent 87cdca5 commit 3f18a40
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ RUN set -x \
&& cd /www \
&& composer update --no-autoloader

FROM ruby:alpine as ruby

RUN set -x \
&& apk add --no-cache \
git \
&& git clone -b master git://github.com/camjackson/fake-s3-1.git /tmp/fakes3 \
&& cd /tmp/fakes3 \
&& rake build fakes3.gemspec \
&& ls -la

FROM alpine:3.6

RUN set -x \
Expand Down Expand Up @@ -48,11 +58,16 @@ RUN set -x \
/sessions \
/var/run/php/ \
&& chown mysql:mysql /run/mysqld \
&& gem install fakes3 --no-ri --no-rdoc \
&& npm install aws-ses-local -g

COPY ./fs /
COPY --from=composer /www /www
COPY --from=ruby /tmp/fakes3/pkg/ /tmp/gems/

RUN set -x \
&& for file in /tmp/gems/*; do gem install "$file" --no-ri --no-rdoc; done \
&& rm -rf /tmp/*


EXPOSE 80 443 3306 11211

Expand Down

0 comments on commit 3f18a40

Please sign in to comment.