1
0

add ruby to the image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
bunix42 2022-05-09 07:47:24 +00:00
parent 7e867a38b4
commit af6820dd49

View File

@ -3,6 +3,10 @@ FROM python:3
RUN curl -L https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-x86_64 > /usr/local/bin/hadolint \
&& chmod +x /usr/local/bin/hadolint
RUN apt-get update \
&& apt-get install --no-install-recommends -y ruby \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir pre-commit docker-compose
RUN mkdir -p /data/pre-commit-cache