mirror of
https://bitbucket.org/svk28/rac-gui
synced 2024-12-04 18:46:52 +00:00
10 lines
392 B
Docker
10 lines
392 B
Docker
FROM centos:centos8
|
|
MAINTAINER svk@nuk-svk.ru
|
|
|
|
RUN dnf update -y && dnf install -y tcl tcl-devel tk tk-devel 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 |