File tree Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 1919    steps :
2020      - name : Checkout 
2121        uses : actions/checkout@v4 
22+         with :
23+           submodules : recursive 
2224
2325      - name : Build base image 
2426        run : | 
7173
7274name : Build with jammy 
7375        run : | 
74-           docker run --rm -v $(pwd):/repo cl-repro-jammy 
76+           docker run --rm -v $(pwd):/repo cl-repro-jammy bash -c "git clone /repo . && uv sync --all-extras --all-groups && uv run tools/repro-build.sh --force-mtime=2000-01-01 && cp *.xz /repo/release/" 
77+ 
7578
7679name : Generate checksums 
7780        run : | 
@@ -111,7 +114,7 @@ jobs:
111114
112115name : Build with jammy 
113116        run : | 
114-           docker run --rm -v $(pwd):/repo cl-repro-jammy 
117+           docker run --rm -v $(pwd):/repo cl-repro-jammy bash -c "git clone /repo . && uv sync --all-extras --all-groups && uv run tools/repro-build.sh --force-mtime=2000-01-01 && cp *.xz /repo/release/"  
115118
116119name : Generate checksums 
117120        run : | 
Original file line number Diff line number Diff line change 11[submodule  "daemon/jsmn "]
22	path  =  external/jsmn 
33	url  =  https://github.com/zserge/jsmn 
4+ [submodule  "libsodium "]
5+        path  =  external/libsodium 
6+        url  =  https://github.com/jedisct1/libsodium.git 
47[submodule  "external/libbacktrace "]
58	path  =  external/libbacktrace 
69	url  =  https://github.com/ianlancetaylor/libbacktrace.git 
1114[submodule  "external/gheap "]
1215	path  =  external/gheap 
1316	url  =  https://github.com/valyala/gheap 
17+ [submodule  "external/lowdown "]
18+        path  =  external/lowdown 
19+        url  =  https://github.com/kristapsdz/lowdown.git 
20+        ignore  =  dirty 
Original file line number Diff line number Diff line change @@ -26,11 +26,9 @@ RUN apt-get update \
2626	unzip \
2727	wget \
2828	git \
29- 	zip
30- 
31- # Ensure correct ownership
32- RUN chown root:root /etc/sudoers
33- RUN chown root:root /usr/lib/sudo/sudoers.so
29+         zip \
30+     && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*.
31+ RUN echo "ALL ALL=(ALL)       NOPASSWD: ALL" > /etc/sudoers
3432
3533# Download and install jq from official repository
3634RUN wget -O /usr/local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 \
Original file line number Diff line number Diff line change @@ -23,16 +23,17 @@ RUN apt-get update \
2323	libsodium23 \
2424	libtool \
2525	m4 \
26- 	sudo \
2726	unzip \
2827	wget \
2928	jq \
3029	zip
3130
32- # Ensure correct ownership
33- RUN chown root:root /etc/sudoers
34- RUN chown root:root /etc/sudo.conf
35- RUN chown root:root /usr/libexec/sudo/sudoers.so
31+ RUN printf 'root ALL=(ALL) ALL\n%%sudo ALL=(ALL) ALL\n' > /etc/sudoers && \
32+     chmod 0440 /etc/sudoers
33+ 
34+ # Since we're running as root, create a sudo wrapper that's a no-op
35+ RUN printf '#!/bin/sh\nexec "$@"\n' > /usr/local/bin/sudo && \
36+     chmod +x /usr/local/bin/sudo
3637
3738# Install Python3.10 (more reproducible than relying on python3-setuptools)
3839RUN git clone https://github.com/pyenv/pyenv.git /root/.pyenv && \
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments