mirror of
https://github.com/minio/minio.git
synced 2025-01-26 06:03:17 -05:00
remove unnecessary RPMs to reduce security reports (#13565)
This commit is contained in:
parent
18338d60d5
commit
73b74c94a1
@ -27,8 +27,9 @@ COPY CREDITS /licenses/CREDITS
|
|||||||
COPY LICENSE /licenses/LICENSE
|
COPY LICENSE /licenses/LICENSE
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
microdnf clean all && \
|
||||||
microdnf update --nodocs && \
|
microdnf update --nodocs && \
|
||||||
microdnf install curl ca-certificates shadow-utils util-linux iproute iputils --nodocs && \
|
microdnf install curl ca-certificates shadow-utils --nodocs && \
|
||||||
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
||||||
microdnf install minisign --nodocs && \
|
microdnf install minisign --nodocs && \
|
||||||
mkdir -p /opt/bin && chmod -R 777 /opt/bin && \
|
mkdir -p /opt/bin && chmod -R 777 /opt/bin && \
|
||||||
@ -39,7 +40,8 @@ RUN \
|
|||||||
chmod +x /opt/bin/minio && \
|
chmod +x /opt/bin/minio && \
|
||||||
chmod +x /usr/bin/docker-entrypoint.sh && \
|
chmod +x /usr/bin/docker-entrypoint.sh && \
|
||||||
chmod +x /usr/bin/verify-minio.sh && \
|
chmod +x /usr/bin/verify-minio.sh && \
|
||||||
/usr/bin/verify-minio.sh
|
/usr/bin/verify-minio.sh && \
|
||||||
|
microdnf clean all
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
@ -27,8 +27,9 @@ COPY CREDITS /licenses/CREDITS
|
|||||||
COPY LICENSE /licenses/LICENSE
|
COPY LICENSE /licenses/LICENSE
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
microdnf clean all && \
|
||||||
microdnf update --nodocs && \
|
microdnf update --nodocs && \
|
||||||
microdnf install curl ca-certificates shadow-utils util-linux iproute iputils --nodocs && \
|
microdnf install curl ca-certificates shadow-utils --nodocs && \
|
||||||
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
||||||
microdnf install minisign --nodocs && \
|
microdnf install minisign --nodocs && \
|
||||||
mkdir -p /opt/bin && chmod -R 777 /opt/bin && \
|
mkdir -p /opt/bin && chmod -R 777 /opt/bin && \
|
||||||
@ -39,7 +40,8 @@ RUN \
|
|||||||
chmod +x /opt/bin/minio && \
|
chmod +x /opt/bin/minio && \
|
||||||
chmod +x /usr/bin/docker-entrypoint.sh && \
|
chmod +x /usr/bin/docker-entrypoint.sh && \
|
||||||
chmod +x /usr/bin/verify-minio.sh && \
|
chmod +x /usr/bin/verify-minio.sh && \
|
||||||
/usr/bin/verify-minio.sh
|
/usr/bin/verify-minio.sh && \
|
||||||
|
microdnf clean all
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user