From aa62910a554a9d8ae01f646426e6cb55f9f4b3a6 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Fri, 22 Jan 2021 17:55:23 +0000 Subject: [PATCH 1/2] Initial commit --- Dockerfile | 20 ++++++++++++++++++++ README.md | 28 ++++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d7eb490 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM registry.fedoraproject.org/fedora:33 + +ENV NAME=compneuro VERSION=0 ARCH=x86_64 + +LABEL com.redhat.component="$NAME" \ + name="$NAME" \ + version="$VERSION" \ + architecture="$ARCH" \ + run="podman run -it IMAGE" \ + maintainer="NeuroFedora SIG " \ + url="https://neuro.fedoraproject.org" \ + summary="The CompNeuro container image includes commonly used neuron modelling and simulation tools." + +# Installing Neuro Fedora Packages and jupyter notebook +RUN dnf --setopt=tsflags=nodocs groupinstall -y --with-optional "Neuron Modelling Simulators" --skip-broken && \ + dnf clean all + +COPY README.md / + +CMD ["/bin/bash"] diff --git a/README.md b/README.md index 5fba570..a1a5fbb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,27 @@ -# compneuro +# CompNeuro Fedora container image -The CompNeuro container image includes commonly used neuron modelling and simulation tools \ No newline at end of file +This container image includes the same set of neuronal modelling and simulation packages included in the CompNeuro Fedora lab image: + +- bionetgen +- calcium-calculator +- COPASI +- genesis-simulator +- moose +- python3-brian2 +- python3-nest +- python3-netpyne +- python3-neuron +- python3-PyLEMS +- smoldyn + +For more information, please refer to the NeuroFedora documentation at https://neuro.fedoraproject.org. + +The container can be pulled and run using either Podman or Docker: + +``` +$ podman pull registry.fedoraproject.org/compneuro:latest +$ podman run -it +``` + +This will give you a terminal that you can use. +You can use this image as a base image to build other images that include your simulation and other sources to share/distribute. From fc71b11ffdd44ea6f932c866d9ea896118cdeeeb Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 10 Jun 2021 11:51:11 +0100 Subject: [PATCH 2/2] fix: add $FGC variable to correctly namespace container images --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d7eb490..e67b67f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM registry.fedoraproject.org/fedora:33 ENV NAME=compneuro VERSION=0 ARCH=x86_64 LABEL com.redhat.component="$NAME" \ - name="$NAME" \ + name="$FGC/$NAME" \ version="$VERSION" \ architecture="$ARCH" \ run="podman run -it IMAGE" \