Skip to content

Commit

Permalink
Merge branch 'ci-clang-format' into 'master'
Browse files Browse the repository at this point in the history
[ci] Update docker image for pre-commit / clang-format jobs.

See merge request ogs/ogs!5129
  • Loading branch information
bilke committed Oct 10, 2024
2 parents 75f618a + d89c805 commit d8f2258
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/docker/Dockerfile.pre-commit
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

ENV TZ=Europe/Berlin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

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/*
RUN pip install pre-commit==3.4.0

RUN ln -s /usr/bin/python3 /usr/bin/python

0 comments on commit d8f2258

Please sign in to comment.