]> git.openstreetmap.org Git - chef.git/blob - Dockerfile
Remount /dev/shm if the size is changed
[chef.git] / Dockerfile
1 # Basic Dockerfile to run cookstyle linting
2 # run: docker build -t test .
3 FROM ruby:2.6
4
5 WORKDIR /app
6
7 RUN apt-get update \
8         && apt-get install -y --no-install-recommends libssl-dev
9
10 ADD Gemfile* /app/
11 RUN gem install bundler --no-document \
12     && bundle config build.nokogiri --use-system-libraries \
13     && bundle install --jobs $(nproc) --retry 5
14
15 ADD . /app/
16
17 RUN bundle exec cookstyle -f fuubar