Skip to content

Commit

Permalink
Fix Dockerfile deps installation
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Nov 18, 2024
1 parent 41ee41c commit 4badf7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.11-bookworm

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
RUN apt-get update && sudo apt install \
git \
build-essential \
software-properties-common \
Expand Down
2 changes: 1 addition & 1 deletion node_cli/core/nftables.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_chains(self) -> list[str]:
return []

def flush(self) -> None:
self.run_cmd('flush ruleset')
self.nft.cmd('flush ruleset')

def chain_exists(self, chain_name: str) -> bool:
return chain_name in self.get_chains()
Expand Down

0 comments on commit 4badf7a

Please sign in to comment.