Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 12c9bcb

Browse files
committed
bump alpine to 3.15 and fix htslib dependency
htslib 1.10 is required for current cyvcf2 we install cython before we can install cyvcf2
1 parent 5a1974b commit 12c9bcb

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Dockerfile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
FROM python:3.8-alpine3.13 as BUILD
1+
FROM python:3.8-alpine3.15 as BUILD
22

33
RUN apk add --update \
44
&& apk add --no-cache build-base curl-dev linux-headers bash git musl-dev\
5-
&& apk add --no-cache libressl-dev libffi-dev autoconf bzip2-dev xz-dev\
5+
&& apk add --no-cache openssl-dev libffi-dev autoconf bzip2-dev xz-dev\
66
&& apk add --no-cache python3-dev rust cargo \
77
&& rm -rf /var/cache/apk/*
88

99
COPY requirements.txt /root/beacon/requirements.txt
10-
COPY setup.py /root/beacon/setup.py
11-
COPY beacon_api /root/beacon/beacon_api
1210

1311
ENV CYTHONIZE=1
1412

1513
RUN pip install --upgrade pip && \
16-
pip install -r /root/beacon/requirements.txt && \
17-
pip install /root/beacon
14+
pip install Cython==0.29.26 && \
15+
pip install -r /root/beacon/requirements.txt
16+
17+
COPY setup.py /root/beacon/setup.py
18+
COPY beacon_api /root/beacon/beacon_api
19+
RUN pip install /root/beacon
1820

19-
FROM python:3.8-alpine3.13
21+
FROM python:3.8-alpine3.15
2022

2123
RUN apk add --no-cache --update bash
2224

0 commit comments

Comments
 (0)