Updated readme, added compatability for Singularity build process
This commit is contained in:
parent
fee3beac4f
commit
d10e3c1b73
3
Makefile
3
Makefile
|
@ -1,9 +1,8 @@
|
||||||
APPTAINER ?= apptainer
|
APPTAINER ?= singularity
|
||||||
OVERLAY_DIR ?= ./overlay
|
OVERLAY_DIR ?= ./overlay
|
||||||
NUM_THREADS ?= $(shell grep -c processor /proc/cpuinfo)
|
NUM_THREADS ?= $(shell grep -c processor /proc/cpuinfo)
|
||||||
|
|
||||||
UID := $(shell id -u)
|
UID := $(shell id -u)
|
||||||
GID := $(shell id -g)
|
|
||||||
|
|
||||||
.DEFAULT_GOAL := mobileinsight.sif
|
.DEFAULT_GOAL := mobileinsight.sif
|
||||||
|
|
||||||
|
|
23
README.md
23
README.md
|
@ -1,13 +1,20 @@
|
||||||
MobileInsight Apptainer
|
MobileInsight Apptainer
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
Single launch binary for MobileInsight in a Ubuntu 22.04 portable container.
|
Single launch binary for [MobileInsight](https://github.com/mobile-insight) in
|
||||||
|
a Ubuntu 22.04 SIF portable container.
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
The host side only needs `apptainer` or `singularity` to function. A gui is
|
Either one of the following dependencies is needed to run or build SIF images:
|
||||||
needed to launch the log viewer.
|
|
||||||
|
- [Apptainer](https://apptainer.org/)
|
||||||
|
- [Singularity](https://sylabs.io/singularity/)
|
||||||
|
|
||||||
|
To use the `make run` command, the overlay Linux kernel module must also be
|
||||||
|
available on the system. This allows you to make changes to the SIF file using
|
||||||
|
an overlay filesystem.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
@ -25,13 +32,7 @@ $ ./mobileinsight.sif bash
|
||||||
|
|
||||||
Examples are stored in /opt/mobileinsight-examples.
|
Examples are stored in /opt/mobileinsight-examples.
|
||||||
|
|
||||||
Building
|
Build
|
||||||
--------
|
-----
|
||||||
|
|
||||||
To build the apptainer, the following dependencies are needed on the host
|
|
||||||
machine:
|
|
||||||
|
|
||||||
1. Apptainer or Singularity
|
|
||||||
2. Docker
|
|
||||||
|
|
||||||
Run `make mobileinsight.sif` to build the apptainer image.
|
Run `make mobileinsight.sif` to build the apptainer image.
|
||||||
|
|
Loading…
Reference in New Issue