Commit edd27dde authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

update to mantid 6.12

parent 826b5af0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ after_script:
build-image:
  stage: build
  variables:
    TAG: "0.3"
    TAG: "0.4"
    FORCE_TAGS: "false"
  when: manual
  script:
+11 −14
Original line number Diff line number Diff line
FROM --platform=amd64 ubuntu:22.04
FROM --platform=amd64 regproxy.ornl.gov/hub_proxy/mambaorg/micromamba:2.0-ubuntu22.04 AS source

RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get -y install tzdata
RUN micromamba create --yes -n mantid -c conda-forge -c mantid python=3.10 mantid=6.12.0

RUN apt-get update && apt-get install -y wget xz-utils libglu1-mesa-dev
USER root

RUN wget https://github.com/mantidproject/mantid/releases/download/v6.7.0/mantidworkbench-6.7.0.tar.xz

RUN tar -xvf ./mantidworkbench-6.7.0.tar.xz

RUN ln -s /mantidworkbench/bin/python /mantidworkbench/bin/mantidpython

ENV PATH=$PATH:/mantidworkbench/bin
ENV PYTHONPATH=$PYTHONPATH:/topaz/lib/ISAW_PythonSources/Lib:/topaz/lib/Python3Library
ENV PYTHONPATH=/topaz/lib/ISAW_PythonSources/Lib:/topaz/lib/Python3Library

COPY mantid.local.properties /etc/mantid.local.properties

COPY /data /topaz/data
COPY /src /topaz/app
COPY /lib /topaz/lib
COPY ./data /topaz/data
COPY ./src /topaz/app
COPY ./lib /topaz/lib
RUN ln -s /topaz/app /app

RUN mkdir /.mantid && chmod og+rwX -R /topaz /.mantid
@@ -26,4 +19,8 @@ ENV SNS_TOPAZ_SHARED_FOLDER="/topaz/data"

WORKDIR /app

ENTRYPOINT [ "micromamba", "run", "-n", "mantid" ]