Skip to content

Using the pact ruby standalone with Alpine Linux Docker

Beth Skurrie edited this page Feb 26, 2018 · 6 revisions
FROM ruby:2-alpine

RUN apk add --no-cache --virtual build-dependencies build-base && \
    gem install bundler --no-ri --no-rdoc && \
    cd /app; bundle install && \
    gem uninstall bundler && \
    apk del build-dependencies build-base && \
    rm -r ~/.bundle/ /usr/local/bundle/cache

Clone this wiki locally