diff --git a/Dockerfile b/Dockerfile index 72e95f8..d48c92c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,16 @@ -FROM ruby:2.6-alpine +FROM ruby:3.1-alpine ENV REVIEWDOG_VERSION=v0.14.1 SHELL ["/bin/ash", "-eo", "pipefail", "-c"] # hadolint ignore=DL3006 -RUN apk add --update --no-cache build-base git +RUN apk --no-cache add git RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION} # hadolint ignore=DL3006 -RUN gem install haml_lint +RUN gem install haml_lint 'rubocop:~>1.31.2' rubocop-rails rubocop-performance rubocop-rake rubocop-rspec COPY entrypoint.sh /entrypoint.sh