Skip to content

DCPLib automated container image creation.#71

Open
alexandernikolic-v2c2 wants to merge 1 commit intomodelica:masterfrom
alexandernikolic-v2c2:containerized
Open

DCPLib automated container image creation.#71
alexandernikolic-v2c2 wants to merge 1 commit intomodelica:masterfrom
alexandernikolic-v2c2:containerized

Conversation

@alexandernikolic-v2c2
Copy link

build_docker.sh:
Create docker image containing a freshly built DCPLib with necessary dependencies preinstalled.
Change $OS to choose base image and $VER to choose version.
Currently supported base images: redhat_ubi{8,9}, rockylinux{8,9}, ubuntu{18.04,22.04}
A temporary Dockerfile is created to reflect the configuration of choice and then the image is built during which a test of the DCPLib build is run.

build_examples.sh: Builds all examples (currently in source tree) automatically.
run_example.sh: Is used in the docker images to test the build by running one example.

build_docker.sh:
  Create docker image containing a freshly built DCPLib with necessary dependencies preinstalled.
  Change $OS to choose base image and $VER to choose version.
  Currently supported base images: redhat_ubi{8,9}, rockylinux{8,9}, ubuntu{18.04,22.04}
  A temporary Dockerfile is created to reflect the configuration of choice and then the image is built during which a test of the DCPLib build is run.

build_examples.sh: Builds all examples (currently in source tree) automatically.
run_example.sh: Is used in the docker images to test the build by running one example.
@alexandernikolic-v2c2
Copy link
Author

The idea here is that users might have less problems with building the software in containers with preinstalled dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant