Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
mafsbaptista committed Mar 22, 2024
2 parents d9ad29d + 38fd178 commit a144aeb
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 587 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "instrumentation2"]
path = instrumentation2
url = https://github.com/formalsec/instrumentation2.git

32 changes: 32 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
ARG BASE_OS="ubuntu:22.04"
FROM ${BASE_OS}

ENV DEBIAN_FRONTEND=noninteractive

SHELL ["/bin/bash", "-c"]

RUN apt-get update && \
apt-get install -y python3 python3-pip curl ca-certificates gnupg wget graphviz unzip && \
pip install --upgrade pip setuptools

# Install Node.js
RUN mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt update \
&& apt install nodejs -y

# Install Neo4j
ENV NEO4J_HOME="/var/lib/neo4j"
RUN wget -O - https://debian.neo4j.com/neotechnology.gpg.key | apt-key add - && \
echo 'deb https://debian.neo4j.com stable 5' | tee -a /etc/apt/sources.list.d/neo4j.list && \
apt-get update && \
apt-get install -y neo4j=1:5.9.0 && \
echo dbms.security.auth_enabled=false >> /etc/neo4j/neo4j.conf && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Build graphjs
COPY ./ /graphjs
WORKDIR /graphjs
RUN ./setup.sh
46 changes: 0 additions & 46 deletions detection/neo4j_import/Dockerfile

This file was deleted.

Loading

0 comments on commit a144aeb

Please sign in to comment.