Skip to content

Commit

Permalink
updated source dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Jan 2, 2024
1 parent 4e3d771 commit e4faaf4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion indimail-src/alpine.src
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MAINTAINER cprogrammer
LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docker

RUN mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& apk -U upgrade \
&& apk add bash gcc g++ make git autoconf automake libtool m4 sed \
pkgconfig openrc mailx busybox-extras vim lsof strace gettext \
Expand All @@ -22,7 +23,6 @@ RUN mkdir -p /root /usr/local/srctmp /var/log/build \
perl-digest-sha3 perl-net-ssleay perl-io-socket-inet6 \
perl-authen-ntlm perl-net-dns \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
git clone --no-tags --no-recurse-submodules --depth=1 https://github.com/indimail/libqmail.git; \
git clone --no-tags --no-recurse-submodules --depth=1 https://github.com/indimail/indimail-mta.git; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/archlinux.src
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ MAINTAINER cprogrammer
LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docker

RUN mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& sed -i 's{usr/share/man/\*{{g' /etc/pacman.conf \
&& pacman -Sy --noconfirm --needed \
&& pacman -S --noconfirm --needed archlinux-keyring \
Expand All @@ -14,7 +15,6 @@ RUN mkdir -p /root /usr/local/srctmp /var/log/build \
perl-authen-sasl perl-net-ssleay perl-digest-hmac perl-io-socket-inet6 \
&& pacman -S --noconfirm --refresh --sysupgrade \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
wget -nv https://oss.oetiker.ch/mrtg/pub/mrtg.tar.gz \
-O /usr/local/srctmp/mrtg.tar.gz; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/fedora.src
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
&& dnf -y install 'dnf-command(config-manager)' \
&& sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf \
&& mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& version_id=$(grep VERSION_ID /etc/os-release|cut -d= -f2) \
&& dnf config-manager --add-repo \
https://download.opensuse.org/repositories/home:mbhangui/Fedora_"$(grep VERSION_ID /etc/os-release|cut -d= -f2)"/home:mbhangui.repo \
Expand All @@ -23,7 +24,6 @@ RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
libidn2-devel readline-devel tcl-devel tk-devel perl-Authen-SASL \
perl-Digest-HMAC perl-Digest-SHA perl-Net-SSLeay \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
for i in libqmail indimail-mta ezmlm-idx tinydnssec indimail-virtualdomains indimail-docker; \
do git clone --no-tags --no-recurse-submodules --depth=1 https://github.com/indimail/$i.git; done; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/gentoo.src
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ MAINTAINER cprogrammer
LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docker

RUN mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
echo "emaint -ay sync"; \
emaint -ay sync > /var/log/build/emaint.log; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/stream8.src
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docke

RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
&& mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& dnf -y install 'dnf-command(config-manager)' \
&& dnf config-manager --set-enabled powertools \
&& dnf -y module disable mysql \
Expand All @@ -21,7 +22,6 @@ RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
rsync systemd telnet vim strace passwd lsof mrtg patch tcl-devel tk-devel \
perl-Authen-SASL perl-Digest-HMAC perl-Digest-SHA perl-Net-SSLeay \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
for i in libqmail indimail-mta ezmlm-idx tinydnssec indimail-virtualdomains indimail-docker; \
do git clone --no-tags --no-recurse-submodules --depth=1 https://github.com/indimail/$i.git; done; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/stream9.src
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docke

RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
&& mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& dnf -y install 'dnf-command(config-manager)' \
dnf-utils \
&& dnf config-manager --set-enabled crb \
Expand All @@ -22,7 +23,6 @@ RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
rsync systemd telnet vim strace passwd lsof syslog-ng mrtg patch tcl-devel tk-devel \
perl-Authen-SASL perl-Digest-HMAC perl-Digest-SHA perl-Net-SSLeay \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
for i in libqmail indimail-mta ezmlm-idx tinydnssec indimail-virtualdomains indimail-docker; \
do git clone --no-tags --no-recurse-submodules --depth=1 https://github.com/indimail/$i.git; done; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/ubi8.src
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docke

RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
&& mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& dnf config-manager --set-enabled ubi-8-baseos-source ubi-8-appstream-source \
&& dnf -y install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
Expand Down Expand Up @@ -36,7 +37,6 @@ RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
diffutils coreutils which chkconfig procps psmisc flex less cronie xmlto \
file sed wget bzip2 vim passwd \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
cd /usr/local/srctmp; \
wget -nv https://oss.oetiker.ch/mrtg/pub/mrtg.tar.gz \
-O /usr/local/srctmp/mrtg.tar.gz; \
Expand Down
2 changes: 1 addition & 1 deletion indimail-src/ubi9.src
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ LABEL org.opencontainers.image.source https://github.com/indimail/indimail-docke

RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
&& mkdir -p /root /usr/local/srctmp /var/log/build \
&& touch /usr/local/srctmp/incomplete \
&& dnf config-manager --set-enabled ubi-9-baseos-source ubi-9-appstream-source \
&& dnf -y erase subscription-manager \
&& dnf -y install \
Expand All @@ -20,7 +21,6 @@ RUN export HOSTNAME=indimail.org MYSQL_SOCKET=/run/mysqld/mysqld.sock \
diffutils coreutils which chkconfig procps psmisc less cronie \
file sed wget bzip2 vim passwd \
&& (set -e; \
touch /usr/local/srctmp/incomplete; \
# mrtg
cd /usr/local/srctmp; \
wget -nv https://oss.oetiker.ch/mrtg/pub/mrtg.tar.gz \
Expand Down

0 comments on commit e4faaf4

Please sign in to comment.