actions/rubocop/Dockerfile
dependabot[bot] d6c0ee3859
Bump ruby from 70227bd to 9ce8477 in /rubocop
Bumps ruby from `70227bd` to `9ce8477`.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 08:25:31 +00:00

20 lines
648 B
Docker

FROM ruby:2.6.3-alpine3.8@sha256:9ce8477b3dae023efac4c6cdace03db945dc31617e19db3f3dff26b4b5a74908
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"]