Skip to content
Snippets Groups Projects
Verified Commit dce340b4 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Update pre-commit image.

parent cd715ca7
No related branches found
No related tags found
No related merge requests found
FROM python:slim FROM ubuntu:21.04
ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip install pre-commit==2.7.1
CMD ["bash"]
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends git gcc g++ clang-format \ && apt-get install -y --no-install-recommends git gcc g++ python3-pip clang-format-12 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN pip install pre-commit==2.13.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment