Files
mruby-mruby/Dockerfile
T
John Bampton 00d43ad960 Add Docker to build and run all mruby tests
Run `pre-commit` and  generate `YARD` docs with Docker

Update CONTRIBUTING
2023-04-13 00:12:32 +10:00

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 . .