mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
e266ea760f
https://github.com/super-linter/super-linter?tab=readme-ov-file#configure-super-linter https://github.com/hadolint/hadolint https://github.com/hadolint/hadolint?tab=readme-ov-file#configure https://github.com/hadolint/hadolint/wiki/DL3042
14 lines
356 B
Docker
14 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 Gemfile.lock .pre-commit-config.yaml ./
|
|
|
|
RUN bundle install && pip3 install --no-cache-dir pre-commit && git init . && pre-commit install-hooks
|
|
|
|
COPY . .
|