Skip to content

Commit 95eba58

Browse files
committed
Fix FAST's Dockerfile
1 parent de44e34 commit 95eba58

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

Dockerfile-fast

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,8 @@ RUN mkdir -p /etc/apt/keyrings \
1818
&& apt update \
1919
&& apt install nodejs -y
2020

21-
# Install Neo4j
22-
ENV NEO4J_HOME="/var/lib/neo4j"
23-
RUN wget -O - https://debian.neo4j.com/neotechnology.gpg.key | apt-key add - && \
24-
echo 'deb https://debian.neo4j.com stable 5' | tee -a /etc/apt/sources.list.d/neo4j.list && \
25-
apt-get update && \
26-
apt-get install -y neo4j=1:5.9.0 && \
27-
echo dbms.security.auth_enabled=false >> /etc/neo4j/neo4j.conf && \
28-
apt-get clean && \
29-
rm -rf /var/lib/apt/lists/* && \
30-
chown -R neo4j:neo4j /var/lib/neo4j && \
31-
chown -R neo4j:neo4j /var/log/neo4j && \
32-
chmod -R g+rw /var/lib/neo4j && \
33-
chmod -R g+rw /var/log/neo4j
34-
3521
# Configure 'explodejs' user
3622
RUN useradd -ms /bin/bash explodejs && \
37-
usermod -aG neo4j explodejs && \
3823
echo explodejs:explodejs | chpasswd && \
3924
cp /etc/sudoers /etc/sudoers.bak && \
4025
echo "explodejs ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
@@ -57,9 +42,9 @@ COPY --chown=explodejs:explodejs ./bench/datasets /home/explodejs/explode-js/dat
5742
RUN rm -rf /home/explodejs/explode-js/fast/.git \
5843
&& rm -rf /home/explodejs/explode-js/datasets/.git
5944

60-
COPY ./run-fast.py /home/explodejs/explode-js
61-
COPY ./table_fast.py /home/explodejs/explode-js
62-
COPY ./table_fast_time.py /home/explodejs/explode-js
45+
COPY ./bench/run-fast.py /home/explodejs/explode-js
46+
COPY ./bench/table_fast.py /home/explodejs/explode-js
47+
COPY ./bench/table_fast_time.py /home/explodejs/explode-js
6348

6449
# Install 'fast'
6550
RUN python3 -m pip config set global.break-system-packages true

0 commit comments

Comments
 (0)