]> git.openstreetmap.org Git - chef.git/blob - Dockerfile
Update ysera to postgres 12, postgis 3 and carto 5.0.0
[chef.git] / Dockerfile
1 # Basic Dockerfile to run cookstyle linting
2 # run: docker build -t test .
3 FROM ruby:2.6-alpine as build
4
5 # Add Gem build requirements
6 RUN apk add --no-cache build-base
7
8 # Create app directory
9 WORKDIR /app
10
11 # Add Gemfile and Gemfile.lock
12 ADD Gemfile* ./
13
14 # Install Gems
15 RUN gem install bundler \
16     && bundle config build.nokogiri --use-system-libraries \
17     && bundle config --global jobs $(nproc) \
18     && bundle install
19
20 # Add repo
21 ADD . .
22
23 # Run linting
24 RUN bundle exec cookstyle -f fuubar