mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
00d43ad960
Run `pre-commit` and generate `YARD` docs with Docker Update CONTRIBUTING
18 lines
356 B
Docker
18 lines
356 B
Docker
FROM ruby:3.2.2-bullseye
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y python3-pip shellcheck \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY Gemfile .
|
|
|
|
COPY Gemfile.lock .
|
|
|
|
COPY .pre-commit-config.yaml .
|
|
|
|
RUN bundle install && pip3 install pre-commit && git init . && pre-commit install-hooks
|
|
|
|
COPY . .
|