Skip to content

Commit

Permalink
singularity update dockerbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
DSchreyer committed Jan 9, 2024
1 parent cc888aa commit 7393761
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
with:
file: modules/local/ampliconsuite/Dockerfile
push: true
tags: "quay.io/nf-core/prepareaa:1.0.3"
tags: "quay.io/nf-core/prepareaa:1.0.4"
10 changes: 10 additions & 0 deletions modules/local/ampliconsuite/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ USER $NB_UID

# Start a login bash shell by default
CMD ["/bin/bash", "-l"]

# Create an entrypoint script
RUN echo '#!/bin/bash' > /entrypoint.sh && \
echo 'source ~/micromamba/etc/profile.d/mamba.sh' >> /entrypoint.sh && \
echo 'micromamba activate base' >> /entrypoint.sh && \
echo 'exec "$@"' >> /entrypoint.sh && \
chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
CMD ["/bin/bash", "-l"]

0 comments on commit 7393761

Please sign in to comment.