+RUN apk update && \
- echo ':sources: ["http://rubygems.org"]' >> ~/.gemrc && \
gem/apk 请分开. 上面一行挪到下一个RUN里去.
- apk upgrade && \
- apk add --no-cache git && \
- apk add ruby-dev make gcc g++
+RUN umask 002 && \
- gem install bunny json activesupport git rest-client