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

Merge branch 'ci-clang-format' into 'master'

[ci] Update docker image for pre-commit / clang-format jobs.

See merge request ogs/ogs!5129
parents 75f618aa d89c805c
No related branches found
No related tags found
No related merge requests found
FROM ubuntu:22.04 FROM ubuntu:24.04
ENV TZ=Europe/Berlin ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends clang-format git gcc g++ golang python3-pip wget xz-utils \ && apt-get install -y --no-install-recommends clang-format git gcc g++ golang python3-pip pre-commit wget xz-utils \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN pip install pre-commit==3.4.0
RUN ln -s /usr/bin/python3 /usr/bin/python RUN ln -s /usr/bin/python3 /usr/bin/python
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