UNCLASSIFIED

Commit db7a1f80 authored by Vickie Shen's avatar Vickie Shen
Browse files

updated Dockerfile

parent eb6e4eea
Pipeline #317284 passed with stages
in 8 minutes and 8 seconds
...@@ -10,8 +10,8 @@ COPY *.rpm / ...@@ -10,8 +10,8 @@ COPY *.rpm /
COPY signatures/* / COPY signatures/* /
COPY --from=base /usr/local/bin/kube-proxy /usr/local/bin/kube-proxy COPY --from=base /usr/local/bin/kube-proxy /usr/local/bin/kube-proxy
COPY --from=base /usr/sbin/xtables-legacy-multi /usr/sbin/ COPY --from=base /usr/sbin/xtables-legacy-multi /usr/sbin/xtables-legacy-multi
COPY --from=base /usr/sbin/iptables-wrapper /usr/sbin/ COPY --from=base /usr/sbin/iptables-wrapper /usr/sbin/iptables-wrapper
RUN dnf upgrade -y && \ RUN dnf upgrade -y && \
dnf install -y ipset iputils net-tools kmod procps iproute kmod iptables && \ dnf install -y ipset iputils net-tools kmod procps iproute kmod iptables && \
...@@ -51,3 +51,5 @@ RUN update-alternatives --install /usr/sbin/ip6tables ip6tables /usr/sbin/iptabl ...@@ -51,3 +51,5 @@ RUN update-alternatives --install /usr/sbin/ip6tables ip6tables /usr/sbin/iptabl
HEALTHCHECK --interval=10s --timeout=1s --start-period=10s --retries=6 \ HEALTHCHECK --interval=10s --timeout=1s --start-period=10s --retries=6 \
CMD curl -f http://locahost:10249 || exit 1 CMD curl -f http://locahost:10249 || exit 1
CMD ["/bin/sh"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment