Fixed image building on CentOS

This commit is contained in:
Alexey Pustovalov 2020-08-27 15:19:48 -04:00
parent add779496a
commit a5615f74f9
10 changed files with 10 additions and 10 deletions

View File

@ -39,7 +39,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
yum -y clean all && \ yum -y clean all && \
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \ rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \

View File

@ -47,7 +47,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
apt-get -y purge curl gpg dirmngr gpg-agent && \ apt-get -y purge curl gpg dirmngr gpg-agent && \
apt-get -y autoremove && \ apt-get -y autoremove && \

View File

@ -54,7 +54,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
yum -y clean all && \ yum -y clean all && \
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \ rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \

View File

@ -63,7 +63,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
apt-get -y purge curl gpg dirmngr gpg-agent && \ apt-get -y purge curl gpg dirmngr gpg-agent && \
apt-get -y autoremove && \ apt-get -y autoremove && \

View File

@ -53,7 +53,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
yum -y clean all && \ yum -y clean all && \
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \ rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \

View File

@ -61,7 +61,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
apt-get -y purge curl gpg dirmngr gpg-agent && \ apt-get -y purge curl gpg dirmngr gpg-agent && \
apt-get -y autoremove && \ apt-get -y autoremove && \

View File

@ -59,7 +59,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
yum -y clean all && \ yum -y clean all && \
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \ rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \

View File

@ -68,7 +68,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
apt-get -y purge curl gpg dirmngr gpg-agent && \ apt-get -y purge curl gpg dirmngr gpg-agent && \
apt-get -y autoremove && \ apt-get -y autoremove && \

View File

@ -60,7 +60,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
yum -y clean all && \ yum -y clean all && \
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \ rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \

View File

@ -68,7 +68,7 @@ RUN set -eux && \
gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \ gpg --keyserver "$server" --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 && break || : ; \
done && \ done && \
gpg --batch --verify /tmp/tini.asc /sbin/tini && \ gpg --batch --verify /tmp/tini.asc /sbin/tini && \
rm -r "$GNUPGHOME" /tmp/tini.asc && \ rm -rf "$GNUPGHOME" /tmp/tini.asc && \
chmod +x /sbin/tini && \ chmod +x /sbin/tini && \
apt-get -y purge curl gpg dirmngr gpg-agent && \ apt-get -y purge curl gpg dirmngr gpg-agent && \
apt-get -y autoremove && \ apt-get -y autoremove && \