From 5562812a1a1c6a3b952155185dcdc61daeb55f5b Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Mon, 24 Jul 2017 14:04:17 +0200 Subject: [PATCH 1/5] initial commit Signed-off-by: Tomas Tomecek --- Dockerfile | 12 +++++++++ README.md | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 Dockerfile create mode 100644 README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cb17972 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM registry.fedoraproject.org/fedora:26-modular +LABEL MAINTAINER "Langdon White" +ENV NAME=boltron VERSION=1 RELEASE=1 ARCH=x86_64 +LABEL com.redhat.component="https://pagure.io/modularity/issues" \ + name="$FGC/$NAME" \ + version="$VERSION" \ + release="$RELEASE.$DISTTAG" \ + usage="docker run --rm -it f26-modular/boltron /bin/bash" \ + summary="Boltron will provide you a running and useful version of the Modular Server Preview." +COPY ./README.md /README.md +RUN microdnf install dnf +CMD ["/bin/bash"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..e2f6142 --- /dev/null +++ b/README.md @@ -0,0 +1,73 @@ +Boltron Instructions +==================== + +First, please download the boltron in the /prototype/boltron/download +section. A container image is recommended if you just want to test the +user experience - as it is the easiest to run. + + $ docker run --rm -it registry.fedoraproject.org/f26/boltron /bin/bash + +Now you are ready to try Boltron! + +Managing modules with DNF +------------------------- + +You can find very similar guide on the [Walkthrough and UX +Feedback](https://goo.gl/forms/WSt2tQJHWXmhMotq2) form - and give us +feedback on the go. + +### Listing modules + +List all available modules: + + $ dnf module list + +List all installed modules: + + $ dnf module list --installed + +### Installing modules + +Modules are identified by name-stream-version. Each module might have +one or more install profiles - pre-defined sets of packages to be +installed. + +Modules can be installed by one of the following commands. + + $ dnf install + + $ dnf install - + $ dnf install -/ + + $ dnf install -- + $ dnf install --/ + +Specific examples: + + $ dnf install nginx + $ dnf install nginx-f26 + +### Updating the system + +The system can be updated the same way as a traditional Fedora. The +modules will always follow their streams. That means that if you have +nodejs 6 (nodejs-f26) installed, it will not get upgraded to nodejs 8 +(nodejs-8) even when it is available. + + $ dnf update + +### Changing streams + +If you want to change a stream of an installed module, run the same +command as if you were installing it, specifying the stream you want to +change to. + + $ dnf install nodejs-f26 + $ dnf install nodejs-8 + +### How DNF keeps track what modules are installed? + +DNF creates a .module file for each installed or enabled module. + + $ ls /etc/dnf/modules.d/ + $ cat /etc/dnf/modules.d/nodejs.module From ba59d8c8ecf16615905e41b862af6b71b43ce5ee Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Mon, 24 Jul 2017 14:09:56 +0200 Subject: [PATCH 2/5] update .component label to boltron Signed-off-by: Tomas Tomecek --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb17972..500034c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,10 @@ FROM registry.fedoraproject.org/fedora:26-modular LABEL MAINTAINER "Langdon White" ENV NAME=boltron VERSION=1 RELEASE=1 ARCH=x86_64 -LABEL com.redhat.component="https://pagure.io/modularity/issues" \ +# the value of com.redhat.component label is utilized as a container image name inside candidate registry +# since the container image passed the review and has a production dist-git repo, +# there should be a "boltron" component in bugzilla +LABEL com.redhat.component="boltron" \ name="$FGC/$NAME" \ version="$VERSION" \ release="$RELEASE.$DISTTAG" \ From 30c7e8ac5358aab9ede6df2d2693229a0ef1d1ae Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Mon, 24 Jul 2017 14:13:32 +0200 Subject: [PATCH 3/5] add description label Signed-off-by: Tomas Tomecek --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 500034c..ac752c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,8 @@ LABEL com.redhat.component="boltron" \ version="$VERSION" \ release="$RELEASE.$DISTTAG" \ usage="docker run --rm -it f26-modular/boltron /bin/bash" \ - summary="Boltron will provide you a running and useful version of the Modular Server Preview." + summary="Boltron will provide you a running and useful version of the Modular Server Preview." \ + description="For more info, please see the upstream modularity website: https://docs.pagure.org/modularity/" COPY ./README.md /README.md RUN microdnf install dnf CMD ["/bin/bash"] From f0265215116c6c853d3d016cf72cb0825340fb6c Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Tue, 25 Jul 2017 17:22:59 -0500 Subject: [PATCH 4/5] Bump RELEASE for automatic rebuild --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ac752c7..15c5efc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM registry.fedoraproject.org/fedora:26-modular LABEL MAINTAINER "Langdon White" -ENV NAME=boltron VERSION=1 RELEASE=1 ARCH=x86_64 +ENV NAME=boltron VERSION=1 RELEASE=2 ARCH=x86_64 # the value of com.redhat.component label is utilized as a container image name inside candidate registry # since the container image passed the review and has a production dist-git repo, # there should be a "boltron" component in bugzilla From 2350be8704954a84ebdf26c4f95b2a8a23841f99 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Tue, 14 Nov 2017 14:18:51 -0600 Subject: [PATCH 5/5] Bump RELEASE for automatic rebuild --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 15c5efc..6a62211 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM registry.fedoraproject.org/fedora:26-modular LABEL MAINTAINER "Langdon White" -ENV NAME=boltron VERSION=1 RELEASE=2 ARCH=x86_64 +ENV NAME=boltron VERSION=1 RELEASE=3 ARCH=x86_64 # the value of com.redhat.component label is utilized as a container image name inside candidate registry # since the container image passed the review and has a production dist-git repo, # there should be a "boltron" component in bugzilla