ejschwartz commited on
Commit
3d6dca1
·
1 Parent(s): 9919915
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -27,16 +27,15 @@ RUN unzip ghidrathon/Ghidrathon-v4.0.0.zip -d /ghidra/Ghidra/Extensions
27
 
28
  WORKDIR /
29
 
30
- RUN git clone -b main https://github.com/edmcman/DIRTY # 10-22-24
31
  #ADD ./DIRTY /DIRTY
32
 
33
  RUN --mount=type=cache,target=/root/.cache pip install --break-system-packages --upgrade -r /DIRTY/requirements.txt
34
 
35
  # Download the DIRTY model
36
- #RUN --mount=type=cache,target=/root/.cache (cd /root/.cache; (echo "b1e812b758eccf402271607c40fa491b5486742abf3706be174dc3f4fe87b9dd data1.tar.bz2" | sha256sum -c || wget -O '/root/.cache/data1.tar.bz2' 'https://cmu.box.com/shared/static/nx9fyn8jx0i9p4bftw8f2giqlufnoyj5')) && tar -xvjf /root/.cache/data1.tar.bz2 -C /DIRTY/dirty
37
  RUN pip install --break-system-packages huggingface_hub[cli]
38
 
39
- RUN --mount=type=cache,target=/tmp/model-dl huggingface-cli download --repo-type model ejschwartz/dirty-ghidra --local-dir /tmp/model-dl && cp -R /tmp/model-dl/data1 /DIRTY/dirty/data1
40
 
41
  # Set up a new user named "user"
42
  RUN useradd -m -o -u 1000 user
 
27
 
28
  WORKDIR /
29
 
30
+ RUN git clone -b main https://github.com/edmcman/DIRTY # 11-19-24
31
  #ADD ./DIRTY /DIRTY
32
 
33
  RUN --mount=type=cache,target=/root/.cache pip install --break-system-packages --upgrade -r /DIRTY/requirements.txt
34
 
35
  # Download the DIRTY model
 
36
  RUN pip install --break-system-packages huggingface_hub[cli]
37
 
38
+ RUN --mount=type=cache,target=/tmp/model-dl huggingface-cli download --revision release-0.1 --repo-type model ejschwartz/dirty-ghidra --local-dir /tmp/model-dl && cp -R /tmp/model-dl/data1 /DIRTY/dirty/data1
39
 
40
  # Set up a new user named "user"
41
  RUN useradd -m -o -u 1000 user