We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8479b37 commit 08f8de8Copy full SHA for 08f8de8
Dockerfile
@@ -8,6 +8,8 @@ RUN gem install bundler && \
8
bundle install -j 4 && \
9
rm -fr /usr/share/ri
10
11
+RUN apk --update add git
12
+
13
RUN adduser -u 9000 -D app
14
COPY . /usr/src/app
15
RUN chown -R app:app /usr/src/app
Makefile
@@ -1,4 +1,4 @@
1
-.PHONY: image test
+.PHONY: image test docs
2
3
IMAGE_NAME ?= codeclimate/codeclimate-rubocop
4
@@ -7,3 +7,10 @@ image:
7
test: image
docker run --rm $(IMAGE_NAME) sh -c "cd /usr/src/app && bundle exec rake"
+docs: image
+ docker run --rm \
+ --user root \
+ --workdir /usr/src/app \
+ --volume $(PWD):/usr/src/app \
16
+ $(IMAGE_NAME) sh -c "bundle exec rake docs:scrape"
0 commit comments