File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 88ENV  USER=esp
99
1010#  Install extra crates
11- RUN  curl -L "https://github.com/rustsec/rustsec/releases/download/cargo-audit/v0.17.6/cargo-audit-x86_64-unknown-linux-gnu-v0.17.6.tgz"  -o "${HOME}/.cargo/bin/cargo-audit.tgz"  && \
12-     tar xf "${HOME}/.cargo/bin/cargo-audit.tgz"  -C ${HOME}/.cargo/bin --strip-components 1 && \
13-     chmod u+x "${HOME}/.cargo/bin/cargo-audit"  && \
11+ RUN  cargo install cargo-audit && \
1412    GENERATE_VERSION=$(git ls-remote --refs --sort="version:refname"  --tags "https://github.com/cargo-generate/cargo-generate"  | cut -d/ -f3- | tail -n1)  && \
1513    curl -L "https://github.com/cargo-generate/cargo-generate/releases/latest/download/cargo-generate-${GENERATE_VERSION}-x86_64-unknown-linux-gnu.tar.gz"  -o "${HOME}/.cargo/bin/cargo-generate.tar.gz"  && \
1614    tar xf "${HOME}/.cargo/bin/cargo-generate.tar.gz"  -C ${HOME}/.cargo/bin && \
Original file line number Diff line number Diff line change 44ENV  USER=esp
55
66#  Install extra crates
7- RUN  curl -L "https://github.com/rustsec/rustsec/releases/download/cargo-audit/v0.17.6/cargo-audit-x86_64-unknown-linux-gnu-v0.17.6.tgz"  -o "${HOME}/.cargo/bin/cargo-audit.tgz"  && \
8-     tar xf "${HOME}/.cargo/bin/cargo-audit.tgz"  -C ${HOME}/.cargo/bin --strip-components 1 && \
9-     chmod u+x "${HOME}/.cargo/bin/cargo-audit"  && \
7+ RUN  cargo install cargo-audit && \
108    GENERATE_VERSION=$(git ls-remote --refs --sort="version:refname"  --tags "https://github.com/cargo-generate/cargo-generate"  | cut -d/ -f3- | tail -n1)  && \
119    curl -L "https://github.com/cargo-generate/cargo-generate/releases/latest/download/cargo-generate-${GENERATE_VERSION}-x86_64-unknown-linux-gnu.tar.gz"  -o "${HOME}/.cargo/bin/cargo-generate.tar.gz"  && \
1210    tar xf "${HOME}/.cargo/bin/cargo-generate.tar.gz"  -C ${HOME}/.cargo/bin && \
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments