Skip to content

Commit e57dc2d

Browse files
committed
Merge branch 'main' of github.com:mpg-age-bioinformatics/software
2 parents 72b3e31 + 56fdd53 commit e57dc2d

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

htslib/1.20/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM ubuntu:22.04
2+
3+
LABEL maintainer="[email protected]"
4+
LABEL license="MPL-2.0"
5+
6+
RUN apt-get update && \
7+
apt-get install -y --no-install-recommends \
8+
wget \
9+
build-essential \
10+
zlib1g-dev \
11+
libbz2-dev \
12+
liblzma-dev \
13+
ca-certificates && \
14+
rm -rf /var/lib/apt/lists/*
15+
16+
# Install htslib (includes tabix + bgzip)
17+
ENV HTSLIB_VERSION=1.20
18+
RUN wget https://github.com/samtools/htslib/releases/download/${HTSLIB_VERSION}/htslib-${HTSLIB_VERSION}.tar.bz2 && \
19+
tar -xjf htslib-${HTSLIB_VERSION}.tar.bz2 && \
20+
cd htslib-${HTSLIB_VERSION} && \
21+
./configure && make && make install && \
22+
cd .. && rm -rf htslib-${HTSLIB_VERSION}*

modkit/0.5.0/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#as Modkit is rust-based
2+
FROM rust:1.70-slim AS builder
3+
4+
WORKDIR /workspace
5+
6+
RUN apt-get update && \
7+
apt-get install -y --no-install-recommends git build-essential pkg-config libssl-dev && \
8+
git clone --branch v0.5.0 https://github.com/nanoporetech/modkit.git . && \
9+
cargo build --release
10+
11+
# now smaller image in which we can run modkit
12+
FROM debian:bookworm-slim
13+
14+
LABEL maintainer="[email protected]"
15+
LABEL license="MPL-2.0"
16+
17+
COPY --from=builder /workspace/target/release/modkit /usr/local/bin/modkit
18+

0 commit comments

Comments
 (0)