File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ * .iml
2
+ * .exe
3
+ 7zr
4
+ * .log
5
+ * .json
6
+ ! /tests /* .json
7
+ crackers
8
+ preprocessors
9
+ prince
10
+ files
11
+ hashlists
12
+ __pycache__
13
+ * .zip
14
+ .idea
15
+ venv /
16
+ lock.pid
17
+ .env
18
+ Dockerfile
19
+ . *
Original file line number Diff line number Diff line change
1
+ # syntax=docker/dockerfile:1.3
2
+ FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
3
+
4
+ ENV APPDIR /usr/local/app
5
+
6
+ WORKDIR ${APPDIR}
7
+ COPY . ${APPDIR}/
8
+
9
+ RUN \
10
+ --mount=type=cache,target=/var/cache/apt \
11
+ apt update && apt install -y --no-install-recommends \
12
+ zip \
13
+ p7zip-full \
14
+ git \
15
+ python3 \
16
+ python3-pip \
17
+ python3-psutil \
18
+ python3-requests \
19
+ pciutils \
20
+ ca-certificates \
21
+ rsync \
22
+ ocl-icd-libopencl1 \
23
+ clinfo \
24
+ curl && \
25
+ rm -rf /var/lib/apt/lists/*
26
+
27
+ RUN mkdir -p /etc/OpenCL/vendors && \
28
+ echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd && \
29
+ echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf && \
30
+ echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf
31
+
32
+ ENV PATH /usr/local/nvidia/bin:${PATH}
33
+ ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH}
34
+
35
+ RUN \
36
+ --mount=type=cache,target=/root/.cache/pip \
37
+ pip3 install -r requirements.txt && \
38
+ ./build.sh
39
+
40
+ ENTRYPOINT ["python3" , "hashtopolis.zip" ]
You can’t perform that action at this time.
0 commit comments