Skip to content

Commit 0563c4a

Browse files
authored
Merge pull request #1 from patch-technology/pc/update
Bump ruby version + add rubocop dependencies
2 parents 33b5962 + c6bc0b8 commit 0563c4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
FROM ruby:2.6-alpine
1+
FROM ruby:3.1-alpine
22

33
ENV REVIEWDOG_VERSION=v0.14.1
44

55
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
66

77
# hadolint ignore=DL3006
8-
RUN apk add --update --no-cache build-base git
8+
RUN apk --no-cache add git
99

1010
RUN wget -O - -q https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b /usr/local/bin/ ${REVIEWDOG_VERSION}
1111

1212
# hadolint ignore=DL3006
13-
RUN gem install haml_lint
13+
RUN gem install haml_lint 'rubocop:~>1.31.2' rubocop-rails rubocop-performance rubocop-rake rubocop-rspec
1414

1515
COPY entrypoint.sh /entrypoint.sh
1616

0 commit comments

Comments
 (0)