File tree Expand file tree Collapse file tree 3 files changed +25
-30
lines changed
Expand file tree Collapse file tree 3 files changed +25
-30
lines changed Original file line number Diff line number Diff line change 1- FROM ruby:2.3.0 -alpine
1+ FROM ruby:2.6.3 -alpine
22
33ENV LANG C.UTF-8
44
@@ -19,8 +19,8 @@ RUN { \
1919ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk/jre
2020ENV PATH $PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin
2121
22- ENV JAVA_VERSION 8u92
23- ENV JAVA_ALPINE_VERSION 8.92.14 -r0
22+ ENV JAVA_VERSION 8u222
23+ ENV JAVA_ALPINE_VERSION 8.222.10 -r0
2424
2525RUN set -x \
2626 && apk update && apk add --no-cache --update \
@@ -35,7 +35,7 @@ COPY bin/install-checkstyle.sh /usr/src/app/bin/
3535RUN chown -R app:app /usr/src/app
3636
3737RUN ./bin/install-checkstyle.sh
38- RUN apk add --update make g++ git && bundle install
38+ RUN apk add --update make g++ git curl && bundle install
3939
4040VOLUME /code
4141WORKDIR /code
Original file line number Diff line number Diff line change 33 specs:
44 coderay (1.1.2 )
55 diff-lcs (1.3 )
6- method_source (0.8.2 )
7- mini_portile2 (2.1.0 )
8- nokogiri (1.6.8 )
9- mini_portile2 (~> 2.1.0 )
10- pkg-config (~> 1.1.7 )
11- pkg-config (1.1.7 )
12- posix-spawn (0.3.11 )
13- pry (0.10.4 )
6+ method_source (0.9.2 )
7+ mini_portile2 (2.4.0 )
8+ nokogiri (1.10.7 )
9+ mini_portile2 (~> 2.4.0 )
10+ posix-spawn (0.3.13 )
11+ pry (0.12.2 )
1412 coderay (~> 1.1.0 )
15- method_source (~> 0.8.1 )
16- slop (~> 3.4 )
17- rake (11.2.2 )
18- rspec (3.6.0 )
19- rspec-core (~> 3.6.0 )
20- rspec-expectations (~> 3.6.0 )
21- rspec-mocks (~> 3.6.0 )
22- rspec-core (3.6.0 )
23- rspec-support (~> 3.6.0 )
24- rspec-expectations (3.6.0 )
13+ method_source (~> 0.9.0 )
14+ rake (13.0.1 )
15+ rspec (3.9.0 )
16+ rspec-core (~> 3.9.0 )
17+ rspec-expectations (~> 3.9.0 )
18+ rspec-mocks (~> 3.9.0 )
19+ rspec-core (3.9.1 )
20+ rspec-support (~> 3.9.1 )
21+ rspec-expectations (3.9.0 )
2522 diff-lcs (>= 1.2.0 , < 2.0 )
26- rspec-support (~> 3.6 .0 )
27- rspec-mocks (3.6.0 )
23+ rspec-support (~> 3.9 .0 )
24+ rspec-mocks (3.9.1 )
2825 diff-lcs (>= 1.2.0 , < 2.0 )
29- rspec-support (~> 3.6.0 )
30- rspec-support (3.6.0 )
31- slop (3.6.0 )
26+ rspec-support (~> 3.9.0 )
27+ rspec-support (3.9.2 )
3228
3329PLATFORMS
3430 ruby
@@ -41,4 +37,4 @@ DEPENDENCIES
4137 rspec
4238
4339BUNDLED WITH
44- 1.11 .2
40+ 1.17 .2
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ if !Dir.exists? "data/"
1818 system "git clone --shallow-since=2019-01-01 https://github.com/checkstyle/checkstyle.git data/" or raise "clone failed"
1919end
2020
21- system "cd data && git checkout master 1>/dev/null 2>/dev/null && git pull origin master 1>/dev/null 2>/dev/null" or raise "pull failed"
22- system "cd data && git checkout checkstyle-#{ CHECKSTYLE_VERSION } 2>/dev/null" or raise "checkout failed"
21+ system "cd data && git fetch origin && git reset --hard && git checkout checkstyle-#{ CHECKSTYLE_VERSION } 2>/dev/null" or raise "checkout failed"
2322
2423xml_files = Dir . glob ( "data/src/xdocs/config_*" ) . sort
2524xml_data = xml_files . map { |f | Nokogiri ::XML ( File . read ( f ) ) }
You can’t perform that action at this time.
0 commit comments