Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions dockerfiles/pyopenms/manylinux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,38 +1,39 @@
FROM quay.io/pypa/manylinux2014_x86_64

#defaults, can be overwritten from outside
ARG OPENMS_BRANCH="master"
ARG CONTRIB_BUILD_DIR="/contrib-build"
ARG OPENMS_VERSION="latest"

# make source files from context available in docker
COPY . /contrib

RUN yum install -y wget
RUN yum install -y xz qt5-qtbase-devel
RUN yum install -y qt5-qtbase-devel qt5-qtsvg qt5-qtsvg-devel python-devel
RUN yum install -y \
wget \
xz \
qt5-qtbase-devel \
qt5-qtsvg-devel \
python-devel \
qt5-qtsvg \
libtool \
cmake3
# RUN yum install -y libsvm-devel glpk-devel libzip-devel zlib-devel xerces-c-devel bzip2-devel sqlite-devel hdf5-devel

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, apparently we tried that before.
Until recently CoinOR (fixed) and Wildmagick (removed) were problems.
We can try CoinOR from yum if we find it.

RUN yum install -y libtool

RUN yum install -y cmake3
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake

# builds contrib for the current checked out branch
# during cleanup: removes archives
RUN mkdir contrib-build
RUN ls -l
WORKDIR /contrib-build
RUN ls -l
WORKDIR ${CONTRIB_BUILD_DIR}
RUN cmake -DBUILD_TYPE=ALL ../contrib && rm -rf archives src

WORKDIR /

# Metadata
LABEL base.image="manylinux2014_x86_64"
LABEL version="1.0"
LABEL version="${OPENMS_VERSION}"
LABEL software="OpenMS (dependencies for manylinux2014)"
LABEL software.version="$OPENMS_VERSION"
LABEL description="C++ libraries and tools for MS/MS data analysis"
LABEL website="http://www.openms.org/"
LABEL documentation="http://www.openms.org/"
LABEL license="http://www.openms.org/"
LABEL software.version="$OPENMS_VERSION-manylinux2014"
LABEL description="Base image to build OpenMS: C++ libraries and tools for MS/MS data analysis"
LABEL website="https://www.openms.org/"
LABEL documentation="https://www.openms.org/"
LABEL license="https://www.openms.org/"
LABEL tags="Proteomics"

# to link to repo on github container registry
LABEL org.opencontainers.image.source https://github.com/OpenMS/contrib