Here is a working version:
FROM python:3.8-slim-bullseye
# Install system dependencies (for building)
RUN apt-get update &&
apt-get install -y --no-install-recommends
build-essential
libcurl4-openssl-dev
libssl-dev
libbz2-dev
libreadline-dev
libsqlite3-dev
wget
curl
llvm
make
g++
git
unzip
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install numpy scipy
# Copy your source code into the container
COPY . /app
WORKDIR /app
# Install the package (RRA-related compilation will now work)
RUN python setup.py install
# Entry point
ENTRYPOINT echo "Welcome to MAGeCK" && mageck --version && /bin/bash
Here is a working version:
FROM python:3.8-slim-bullseye
# Install system dependencies (for building)
RUN apt-get update &&
apt-get install -y --no-install-recommends
build-essential
libcurl4-openssl-dev
libssl-dev
libbz2-dev
libreadline-dev
libsqlite3-dev
wget
curl
llvm
make
g++
git
unzip
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
RUN pip install numpy scipy
# Copy your source code into the container
COPY . /app
WORKDIR /app
# Install the package (RRA-related compilation will now work)
RUN python setup.py install
# Entry point
ENTRYPOINT echo "Welcome to MAGeCK" && mageck --version && /bin/bash