Samad14 commited on
Commit
8438ee1
·
1 Parent(s): 87a4433

fix: add --no-same-owner to backend Dockerfile tar commands

Browse files
Files changed (1) hide show
  1. bioai-platform/backend/Dockerfile +2 -2
bioai-platform/backend/Dockerfile CHANGED
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
8
 
9
  # minimap2 (for NGS read alignment)
10
  RUN wget -q https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x64-linux.tar.bz2 -O /tmp/minimap2.tar.bz2 && \
11
- tar xjf /tmp/minimap2.tar.bz2 -C /tmp && \
12
  cp /tmp/minimap2-2.28_x64-linux/minimap2 /usr/local/bin/minimap2 && \
13
  chmod +x /usr/local/bin/minimap2 && \
14
  rm -rf /tmp/minimap2*
@@ -16,7 +16,7 @@ RUN wget -q https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.2
16
  # Download pre-compiled PhyML binary from bioconda
17
  RUN wget -qO /tmp/phyml.tar.bz2 \
18
  https://anaconda.org/bioconda/phyml/3.3.20220408/download/linux-64/phyml-3.3.20220408-h9bc3f66_3.tar.bz2 && \
19
- tar xjf /tmp/phyml.tar.bz2 -C /tmp && \
20
  cp /tmp/bin/phyml /usr/local/bin/phyml && \
21
  chmod +x /usr/local/bin/phyml && \
22
  rm -rf /tmp/phyml.tar.bz2 /tmp/bin
 
8
 
9
  # minimap2 (for NGS read alignment)
10
  RUN wget -q https://github.com/lh3/minimap2/releases/download/v2.28/minimap2-2.28_x64-linux.tar.bz2 -O /tmp/minimap2.tar.bz2 && \
11
+ tar xjf /tmp/minimap2.tar.bz2 -C /tmp --no-same-owner && \
12
  cp /tmp/minimap2-2.28_x64-linux/minimap2 /usr/local/bin/minimap2 && \
13
  chmod +x /usr/local/bin/minimap2 && \
14
  rm -rf /tmp/minimap2*
 
16
  # Download pre-compiled PhyML binary from bioconda
17
  RUN wget -qO /tmp/phyml.tar.bz2 \
18
  https://anaconda.org/bioconda/phyml/3.3.20220408/download/linux-64/phyml-3.3.20220408-h9bc3f66_3.tar.bz2 && \
19
+ tar xjf /tmp/phyml.tar.bz2 -C /tmp --no-same-owner && \
20
  cp /tmp/bin/phyml /usr/local/bin/phyml && \
21
  chmod +x /usr/local/bin/phyml && \
22
  rm -rf /tmp/phyml.tar.bz2 /tmp/bin