Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A ADIOS2
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 97
    • Issues 97
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Podhorszki, Norbert
  • ADIOS2
  • Issues
  • #2038

Closed
Open
Created Mar 13, 2020 by Podhorszki, Norbert@pnbMaintainer

Dockerfile not working

Created by: HannoSpreeuw

Describe the bug These commands from bash: wget https://raw.githubusercontent.com/ornladios/ADIOS2/master/scripts/docker/images/ubuntu18.04/Dockerfile docker build -t adios2_im .

output

Cloning into 'ADIOS2'...
CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
  CMake 3.12 or higher is required.  You are running version 3.10.2

Expected behavior A succesful build of the Ubuntu Bionic Docker image with Adios2 installed.

Desktop (please complete the following information): This is on Manjaro Linux 19.0.2. Docker version 19.03.6-ce, build 369ce74a3c

Additional context Can fix this by using

# FROM ubuntu:18.04
FROM ubuntu:19.10

Also, the paths need to be fixed or very few Unix commands can be issued from within a shell in the container:

ENV PYTHONPATH="/usr/local/lib/python3.6/site-packages/:/opt/adios2/lib/python3.6/site-packages:${PYTHONPATH}"
ENV PATH="/opt/adios2/bin:${PATH}"
ENV LD_LIBRARY_PATH="/usr/local/lib:/opt/zfp/lib:/opt/sz/lib:/opt/adios2/lib:${LD_LIBRARY_PATH}"

E.g. ls will not work without the addition of :${PATH}.

Please let me know if you will accept a PR for these changes.

Assignee
Assign to
Time tracking