File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,14 @@ RUN set -x \
2929 fi; \
3030 done
3131
32+ FROM ${ARCH}alpine:latest as alpine
33+
3234FROM ${ARCH}busybox:glibc
3335MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
3436
37+ # Use the busybox executable from alpine which is generally patched more quickly for vulnerabilities
38+ RUN rm /bin/*
39+ COPY --from=alpine /bin/busybox /bin/
40+ RUN /bin/busybox --install /bin
41+
3542COPY --from=0 /rootfs /
Original file line number Diff line number Diff line change @@ -28,7 +28,14 @@ RUN set -x \
2828 fi; \
2929 done
3030
31+ FROM ${ARCH}alpine:latest as alpine
32+
3133FROM ${ARCH}busybox:uclibc
3234MAINTAINER The Prometheus Authors <prometheus-developers@googlegroups.com>
3335
36+ # Use the busybox executable from alpine which is generally patched more quickly for vulnerabilities
37+ RUN rm /bin/*
38+ COPY --from=alpine /bin/busybox /bin/
39+ RUN /bin/busybox --install /bin
40+
3441COPY --from=0 /rootfs /
You can’t perform that action at this time.
0 commit comments