actions/rubocop/Dockerfile

21 lines
648 B
Text
Raw Normal View History

FROM ruby:2.6.1-alpine3.8@sha256:c6007b724091bdfb9d13cff040735d08c4574ea6a41ecb28f100ab46349efe07
2019-01-06 01:05:05 +08:00
LABEL repository="https://github.com/koenrh/rubocop-action"
LABEL maintainer="Koen Rouwhorst <info@koenrouwhorst.nl>"
LABEL "com.github.actions.name"="RuboCop"
LABEL "com.github.actions.description"="RuboCop is a Ruby static code analyzer and code formatter."
LABEL "com.github.actions.icon"="flag"
LABEL "com.github.actions.color"="red"
RUN apk add --no-cache \
build-base=~0.5
RUN addgroup -S rubocop && \
adduser -S -g rubocop rubocop
RUN gem install rubocop --no-document
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]