Skip to content
Discussion options

You must be logged in to vote

Hi @Mattavamsi, starting v3.5 our container images are based on a distroless image. Therefore, they don't come installed with shell interpreters such as sh or bash.

If you need to apply customization using your init shell script, I suggest building your own image. i.e.,:

FROM quay.io/coreos/etcd:v3.5.19 as etcd
FROM debian:<some tag>

RUN mkdir -p /var/etcd/ /var/lib/etcd/
COPY --from=etcd /usr/local/bin/etcd /usr/local/bin/
COPY --from=etcd /usr/local/bin/etcdctl /usr/local/bin/
COPY --from=etcd /usr/local/bin/etcdutl /usr/local/bin/

...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jmhbnz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #19578 on March 12, 2025 19:44.