Skip to content

Commit

Permalink
Merge pull request #1676 from eqlabs/krisztian/remove-git-directory
Browse files Browse the repository at this point in the history
nodes: remove `git` directory
  • Loading branch information
kkovaacs authored Jan 15, 2024
2 parents 50bb1c6 + fb1c5ca commit bb08596
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 25 deletions.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ crates/stark_hash_python/target/
.env
# pyenv
.python-version
nodes/Dockerfile.pathfinder
nodes/docker-compose.yaml
nodes/
6 changes: 2 additions & 4 deletions nodes/Dockerfile.pathfinder
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
FROM rust:1.75-bookworm AS BUILD

# Install build dependencies.
RUN apt-get update && apt-get install -y ca-certificates libzstd-dev libgmp10 tini git protobuf-compiler
RUN apt-get update && apt-get install -y ca-certificates libzstd-dev libgmp10 tini protobuf-compiler

WORKDIR /pathfinder
COPY . .
# Our vergen requires a git repo, but our .dockerignore excludes the .git directory.
RUN cp -r nodes/git .git

# Build pathfinder with P2P communication enabled.
RUN cargo build --features p2p --release -p pathfinder
RUN PATHFINDER_FORCE_VERSION=v0.0.1-alpha cargo build --features p2p --release -p pathfinder

# Run pathfinder.
FROM rust:1.75-slim-bookworm AS RUN
Expand Down
1 change: 0 additions & 1 deletion nodes/git/HEAD

This file was deleted.

8 changes: 0 additions & 8 deletions nodes/git/config

This file was deleted.

1 change: 0 additions & 1 deletion nodes/git/description

This file was deleted.

Binary file removed nodes/git/index
Binary file not shown.
6 changes: 0 additions & 6 deletions nodes/git/info/exclude

This file was deleted.

1 change: 0 additions & 1 deletion nodes/git/logs/HEAD

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions nodes/git/packed-refs

This file was deleted.

0 comments on commit bb08596

Please sign in to comment.