diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..0869bf45 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# Minimal Docker image for Minimap2 using Alpine base +FROM alpine:3.13.5 +MAINTAINER Niema Moshiri + +# install Minimap2 +RUN apk update && \ + apk add bash gcc make musl-dev zlib-dev && \ + wget -qO- "https://github.com/lh3/minimap2/archive/refs/tags/v2.22.tar.gz" | tar -zx && \ + cd minimap2-* && \ + make && \ + chmod a+x minimap2 && \ + mv minimap2 /usr/local/bin/minimap2 && \ + cd .. && \ + rm -rf minimap2-*