From 167ffeed23943744e1e17a07947df944e274a9f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 2 Mar 2017 19:14:36 +0100 Subject: [PATCH 1/5] Set the locale to C.UTF-8 to fix unicode in Python 3 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 76707e0..ef527eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,6 @@ LABEL BZComponent="$NAME" \ RUN dnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=false \ install "@python-classroom" && dnf clean all +ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 + CMD ["/bin/bash"] From c97d4aa27adb8ffdd60c14af259706eeabd15e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 2 Mar 2017 22:00:43 +0100 Subject: [PATCH 2/5] Bump version to 0.2 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ef527eb..a5fcc84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM registry.fedoraproject.org/fedora:rawhide LABEL MAINTAINER "Miro Hroncok , Tomas Orsava " -ENV NAME=python-classroom VERSION=0.1 RELEASE=1 ARCH=noarch +ENV NAME=python-classroom VERSION=0.2 RELEASE=1 ARCH=noarch LABEL BZComponent="$NAME" \ Name="$FGC/$NAME" \ Version="$VERSION" \ From 4fe51a888e5da7fce761c1a0daed8dadca4378c6 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Fri, 3 Mar 2017 14:10:59 +0100 Subject: [PATCH 3/5] Install docs --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5fcc84..27e36f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM registry.fedoraproject.org/fedora:rawhide LABEL MAINTAINER "Miro Hroncok , Tomas Orsava " -ENV NAME=python-classroom VERSION=0.2 RELEASE=1 ARCH=noarch +ENV NAME=python-classroom VERSION=0.3 RELEASE=1 ARCH=noarch LABEL BZComponent="$NAME" \ Name="$FGC/$NAME" \ Version="$VERSION" \ @@ -9,7 +9,7 @@ LABEL BZComponent="$NAME" \ Architecture="$ARCH" \ Summary="Ready to use container for teaching and learning Python" -RUN dnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=false \ +RUN dnf -y --setopt=install_weak_deps=false \ install "@python-classroom" && dnf clean all ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 From 0c91af7ce8947468771dcf57953be9320f9636d6 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Fri, 3 Mar 2017 14:31:58 +0100 Subject: [PATCH 4/5] Revert "Install docs" It makes the image unnecessarily larger. This reverts commit 4fe51a888e5da7fce761c1a0daed8dadca4378c6. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27e36f8..a5fcc84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM registry.fedoraproject.org/fedora:rawhide LABEL MAINTAINER "Miro Hroncok , Tomas Orsava " -ENV NAME=python-classroom VERSION=0.3 RELEASE=1 ARCH=noarch +ENV NAME=python-classroom VERSION=0.2 RELEASE=1 ARCH=noarch LABEL BZComponent="$NAME" \ Name="$FGC/$NAME" \ Version="$VERSION" \ @@ -9,7 +9,7 @@ LABEL BZComponent="$NAME" \ Architecture="$ARCH" \ Summary="Ready to use container for teaching and learning Python" -RUN dnf -y --setopt=install_weak_deps=false \ +RUN dnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=false \ install "@python-classroom" && dnf clean all ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 From 54a709aed2363db0091b1658b7a75e0afe2e6d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 3 Mar 2017 16:14:43 +0100 Subject: [PATCH 5/5] Install packages optional in the group --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a5fcc84..db5ccb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM registry.fedoraproject.org/fedora:rawhide LABEL MAINTAINER "Miro Hroncok , Tomas Orsava " -ENV NAME=python-classroom VERSION=0.2 RELEASE=1 ARCH=noarch +ENV NAME=python-classroom VERSION=0.3 RELEASE=1 ARCH=noarch LABEL BZComponent="$NAME" \ Name="$FGC/$NAME" \ Version="$VERSION" \ @@ -10,7 +10,8 @@ LABEL BZComponent="$NAME" \ Summary="Ready to use container for teaching and learning Python" RUN dnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=false \ - install "@python-classroom" && dnf clean all + install "@python-classroom" nano openssh-clients vim-enhanced wget \ + && dnf clean all ENV LANG=C.UTF-8 LC_ALL=C.UTF-8