28 lines
451 B
Docker
28 lines
451 B
Docker
FROM registry.fedoraproject.org/fedora:30
|
|
|
|
ARG UID
|
|
ARG GID
|
|
|
|
RUN groupadd -g ${GID} jenkins \
|
|
&& useradd -u ${UID} -g ${GID} -m -d /var/lib/jenkins -l jenkins
|
|
|
|
RUN dnf install -y \
|
|
bc \
|
|
bzip2 \
|
|
cpio \
|
|
diffutils \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
make \
|
|
ncurses-devel \
|
|
openssh-clients \
|
|
patch \
|
|
perl-ExtUtils-MakeMaker \
|
|
perl-Thread-Queue \
|
|
rsync \
|
|
systemd \
|
|
wget \
|
|
which \
|
|
&& dnf clean all
|