Skip to content
Snippets Groups Projects
Commit ae635b60 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

lcs128: removed obsolete Dockerfile_ci_mac

parent 0b2f9396
No related branches found
No related tags found
No related merge requests found
#
# This builds an image with all dependencies for the LCU package based on the ci_base image
#
# base
#
# !!! Note: Since Docker apparently does not allow Dockerfile-relative paths in a COPY and Gitlab CI works relative
# !!! to the repo root, this image has to be build with that context, e.g.:
# !!! docker build -f Docker/lofar-ci/Dockerfile_ci_mac -t ci_mac:latest .
#
ARG BASE_VERSION=latest
FROM ci_base:$BASE_VERSION
COPY MAC/Services/src/observationcontrol2/requirements.txt observationcontrol2.txt
RUN echo "Installing packages for MAC..." && \
yum -y install readline-devel boost-python36-devel hdf5-devel blas-devel lapack-devel cfitsio-devel wcslib-devel autogen postgresql-devel cmake3 libpqxx-devel qpid-cpp-server qpid-cpp-client-devel unittest-cpp-devel jsoncpp-devel jsoncpp libcurl-devel libcurl && \
pip3 install psycopg2 testing.postgresql lxml mock numpy kombu requests python-dateutil -r observationcontrol2.txt
COPY *.rpm /tmp
#RUN echo "Installing WinCC3.14 build and Demo App from Nexus repo..." && \
# cd /tmp && \
# yum install -y WinCC_OA_3.16-base-rhel-0-14.x86_64.rpm && \
# yum install -y WinCC_OA_3.16-specialfunctions-rhel-0-14.x86_64.rpm && \
# yum install -y WinCC_OA_3.16-applications-rhel-0-14.x86_64.rpm && \
# yum install -y WinCC_OA_3.16-api-rhel-0-14.x86_64.rpm
RUN echo "Installing WinCC3.15 build and Demo App..." && \
cd /tmp && \
yum install -y WinCC_OA_3.16-base-rhel-0-13.x86_64.rpm && \
yum install -y WinCC_OA_3.16-specialfunctions-rhel-0-13.x86_64.rpm && \
yum install -y WinCC_OA_3.16-applications-rhel-0-13.x86_64.rpm && \
yum install -y WinCC_OA_3.16-api-rhel-0-13.x86_64.rpm
COPY Docker/lofar-ci/pvssInst.conf /etc/opt/pvss/pvssInst.conf
USER lofarsys
RUN echo "Installing Casacore..." && \
mkdir -p /opt/3rdparty_sources/ && cd /opt/3rdparty_sources/ && \
git clone --branch v2.1.0 https://github.com/casacore/casacore.git casacore && \
mkdir casacore/build/ && cd casacore/build/ && \
cmake -DCMAKE_INSTALL_PREFIX=/opt/casacore -DBUILD_PYTHON3=OFF -DBUILD_PYTHON=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DUSE_OPENMP=ON -DUSE_FFTW3=TRUE -DUSE_HDF5=ON -DCMAKE_BUILD_TYPE=Release .. && \
make -j 8 && \
make install
RUN echo "Installing Blitz++" && \
mkdir -p /opt/3rdparty_sources/ && cd /opt/3rdparty_sources/ && \
git clone --depth 1 https://github.com/blitzpp/blitz.git blitz && \
cd blitz && mkdir -p build && cd build && \
cmake3 -DCMAKE_INSTALL_PREFIX=/opt/blitz/ -DBUILD_SHARED_LIBS=OFF .. && \
make -j 8 lib && \
make install
ENV LD_LIBRARY_PATH /opt/blitz/lib64/:$LD_LIBRARY_PATH
ENV LD_LIBRARY_PATH /opt/WinCC_OA/3.16/bin:$LD_LIBRARY_PATH
ENV PATH /opt/WinCC_OA/3.16/bin/:$PATH
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment