gabefromsimplebit commited on
Commit
ca26bbb
·
verified ·
1 Parent(s): 17525c7

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -9,9 +9,11 @@ RUN apt-get update && apt-get install -y \
9
  make \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
- # 2. Build zsign using the new Linux-specific path
13
  RUN git clone https://github.com/zhlynn/zsign.git /opt/zsign && \
14
- cd /opt/zsign/linux && \
 
 
15
  make && \
16
  cp zsign /usr/local/bin/zsign
17
 
 
9
  make \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
+ # 2. Build zsign (Auto-locating the Makefile)
13
  RUN git clone https://github.com/zhlynn/zsign.git /opt/zsign && \
14
+ cd /opt/zsign && \
15
+ MAKE_DIR=$(find . -name "Makefile" -printf '%h\n' | head -n 1) && \
16
+ cd $MAKE_DIR && \
17
  make && \
18
  cp zsign /usr/local/bin/zsign
19