diff --git a/.circleci/config.yml b/.circleci/config.yml index 91ec93b..5cfa42a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,31 +2,12 @@ version: 2 jobs: build: docker: - - image: debian:stretch + - image: cimg/ruby:3.2.2 + # use CircleCI convenience image with pre-installed docker/docker-compose steps: - checkout - # This should go into custom primary image, here's only for the sake of explanation - - run: - name: Install Docker client - command: | - set -x - VER="17.03.0-ce" - apt-get update && apt-get install curl -y - curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz - tar -xz -C /tmp -f /tmp/docker-$VER.tgz - mv /tmp/docker/* /usr/bin - - - # This should go into custom primary image, here's only for the sake of explanation - - run: - name: Install Docker Compose - command: | - set -x - curl -L https://github.com/docker/compose/releases/download/1.11.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose - - setup_remote_docker - run: diff --git a/Gemfile b/Gemfile index de2961c..72cb205 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '2.6.1' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 5.2.2' +gem 'rails', '~> 5.2.5' # Use sqlite3 as the database for Active Record gem 'sqlite3', '~> 1.3.6' # Use Puma as the app server @@ -14,7 +14,7 @@ gem 'sass-rails', '~> 5.0' # Use Uglifier as compressor for JavaScript assets gem 'uglifier', '>= 1.3.0' # See https://github.com/rails/execjs#readme for more supported runtimes -# gem 'mini_racer', platforms: :ruby +gem 'mini_racer', platforms: :ruby # Use CoffeeScript for .coffee assets and views gem 'coffee-rails', '~> 4.2' @@ -37,7 +37,7 @@ gem 'jbuilder', '~> 2.5' gem 'bootsnap', '>= 1.1.0', require: false gem 'execjs' -gem 'therubyracer' +# gem 'therubyracer' group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console diff --git a/docker-compose.yaml b/docker-compose.yaml index 79a30f6..19aa8fd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -14,6 +14,7 @@ services: WALLARM_API_HOST: us1.api.wallarm.com ports: - '3000:3000' + platform: linux/x86_64 networks: main: aliases: