Skip to content

Commit

Permalink
build: Can't actually get run of the tar.gz unzip step
Browse files Browse the repository at this point in the history
Because of the Spaceranger URL.
  • Loading branch information
edmundmiller committed Nov 25, 2024
1 parent 9b5522c commit e5cc981
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/nf-core/spaceranger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ ENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
# https://docs.docker.com/reference/dockerfile/#add---checksum
ADD --checksum=sha256:$SPACERANGER_SHA256 \
$SPACERANGER_URL \
/opt/spaceranger-$SPACERANGER_VER
/opt/spaceranger-$SPACERANGER_VER.tar.gz

# Install spaceranger
RUN tar -xzf /opt/spaceranger-$SPACERANGER_VER.tar.gz -C /opt/ \
&& rm /opt/spaceranger-$SPACERANGER_VER.tar.gz \
&& ln -s /opt/spaceranger-$SPACERANGER_VER/spaceranger /usr/bin/spaceranger
ENV PATH="/opt/spaceranger-$SPACERANGER_VER:$PATH"
RUN ln -s /opt/spaceranger-$SPACERANGER_VER/spaceranger /usr/bin/spaceranger

0 comments on commit e5cc981

Please sign in to comment.