mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Command: trivy image --severity CRITICAL gcr.io/etcd-development/etcd:v3.4.22 -f json -o 3.4.22_image_critical.json Signed-off-by: Benjamin Wang <wachao@vmware.com>
16 lines
375 B
Plaintext
16 lines
375 B
Plaintext
FROM --platform=linux/ppc64le busybox:1.34.1 as source
|
|
FROM --platform=linux/ppc64le gcr.io/distroless/base-debian11
|
|
|
|
COPY --from=source /bin/sh /bin/sh
|
|
COPY --from=source /bin/mkdir /bin/mkdir
|
|
|
|
ADD etcd /usr/local/bin/
|
|
ADD etcdctl /usr/local/bin/
|
|
ADD var/etcd /var/etcd
|
|
ADD var/lib/etcd /var/lib/etcd
|
|
|
|
EXPOSE 2379 2380
|
|
|
|
# Define default command.
|
|
CMD ["/usr/local/bin/etcd"]
|