From 5a68b230a8aab303d253deeeb299cedb1c32ad14 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Wed, 20 Jan 2021 19:35:43 +0000 Subject: [PATCH 1/3] Initial commit --- Dockerfile | 20 ++++++++++++++++++++ README.md | 28 ++++++++++++++++++++++++++-- sources | 0 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 Dockerfile create mode 100644 sources diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9967134 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM registry.fedoraproject.org/fedora:rawhide + +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. diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 527106f4575cf726abf250529a691e96f2be94d3 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 10 Jun 2021 11:49:19 +0100 Subject: [PATCH 2/3] fix: add FGC variable to correctly namespace image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9967134..a8754b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM registry.fedoraproject.org/fedora:rawhide 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" \ From 6eaf484f39f82bd66179f010aed78daa59eb77b9 Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Thu, 10 Jun 2021 14:06:49 +0100 Subject: [PATCH 3/3] feat: add description tag to try and fix build Currently fails with "malformed task" but not enough information on what's wrong: https://koji.fedoraproject.org/koji/taskinfo?taskID=69770521 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a8754b2..43e6abe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,8 @@ LABEL com.redhat.component="$NAME" \ 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." + summary="The CompNeuro container image includes commonly used neuron modelling and simulation tools." \ + description="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 && \