From 35ffa3dd9f6aefc7ec7d05a2ab7ff6182351e630 Mon Sep 17 00:00:00 2001 From: svkalinin Date: Thu, 22 Dec 2022 15:01:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B4=D0=BB=D1=8F=20=D1=81?= =?UTF-8?q?=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20tcl/tk=20=D0=BE=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builder-tcltk/debian/Dockerfile | 9 +++++++++ builder-tcltk/redhat/Dockerfile | 11 +++++++++++ 2 files changed, 20 insertions(+) create mode 100644 builder-tcltk/debian/Dockerfile create mode 100644 builder-tcltk/redhat/Dockerfile diff --git a/builder-tcltk/debian/Dockerfile b/builder-tcltk/debian/Dockerfile new file mode 100644 index 0000000..bc28408 --- /dev/null +++ b/builder-tcltk/debian/Dockerfile @@ -0,0 +1,9 @@ +FROM debian:11.6-slim +RUN apt-get update \ + && apt-get install -y locales tcl tk libtcl libtk tcl-dev tk-dev libterm-readline-perl-perl git debhelper \ + && rm -rf /var/lib/apt/lists/* \ + && localedef -i ru_RU -c -f UTF-8 -A /usr/share/locale/locale.alias ru_RU.UTF-8 + +ENV LANG=ru_RU.utf8 + +WORKDIR /home/builder diff --git a/builder-tcltk/redhat/Dockerfile b/builder-tcltk/redhat/Dockerfile new file mode 100644 index 0000000..d20bb67 --- /dev/null +++ b/builder-tcltk/redhat/Dockerfile @@ -0,0 +1,11 @@ +FROM redhat/ubi9:9.1.0 +MAINTAINER svk@nuk-svk.ru + +RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y +RUN dnf update -y && dnf install -y tcl tk tcllib rpm-build git && dnf clean all +RUN useradd rpmbuild -u 5002 -g users -p rpmbuild +USER rpmbuild +ENV HOME /home/rpmbuild +WORKDIR /home/rpmbuild +RUN mkdir -p /home/rpmbuild/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} +RUN echo '%_topdir %{getenv:HOME}/rpmbuild' > /home/rpmbuild/.rpmmacros