ruby on rails - Jenkins docker cache not working -
i'm trying build docker file under jenkins docker build .
here docker file:
# docker-version 0.10.0 docker-index.my.com/ruby:1.9.3 maintainer my.com # never install ruby gem docs run echo "gem: --no-rdoc --no-ri" >> ~/.gemrc run mkdir /my_app workdir /my_app run gem install bundler run gem install bluepill add gemfile /my_app/gemfile add gemfile.lock /my_app/gemfile.lock run bundle install add . /my_app
note i'm using common caching method bundle install, cache works locally not on jenkins build, problem of running under jenkins?
Comments
Post a Comment