Skip to content

Commit 2404432

Browse files
committed
no hooks, update motd
1 parent 1666457 commit 2404432

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ FROM ghcr.io/acts-project/spack-container:23.2.0_linux-ubuntu24.04_gcc-13.3.0_cx
22

33
RUN apt-get update && apt-get install -y clangd vim
44

5-
RUN uv tool install --no-cache pre-commit
5+
RUN uv tool install --no-cache prek

.devcontainer/setup.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ WORKSPACE=$1
55
git config --global --add safe.directory $WORKSPACE
66

77
pushd $WORKSPACE
8-
git config --unset-all core.hooksPath
9-
pre-commit install
108
# Signing does not seem to work
119
git config --add commit.gpgsign false
1210
popd
@@ -25,8 +23,8 @@ chmod +x $HOME/.local/bin/build_acts
2523

2624
cat > /etc/motd <<EOF
2725
=============== ACTS dev container with dependencies ===============
28-
- If you want to run with ODD, you'll need to run:
29-
git submodule init && git submodule update
26+
- To enable git pre-commit hooks:
27+
prek install
3028
- Configure:
3129
configure_acts
3230
- Build:

0 commit comments

Comments
 (0)