Skip to content

Commit

Permalink
etcd 3.4.7 binaries added
Browse files Browse the repository at this point in the history
  • Loading branch information
dclark committed Apr 18, 2020
1 parent 21b2523 commit 3bda9bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions images/20-progs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@ COPY --from=k3os /output/ /output/
WORKDIR /output
RUN git clone --branch v0.7.0 https://github.com/ahmetb/kubectx.git \
&& chmod -v +x kubectx/kubectx kubectx/kubens
# ETCD
ENV ETCD_VER v3.4.7
ENV ETCD_DOWNLOAD_URL https://github.com/etcd-io/etcd/releases/download
RUN apk -U add curl
RUN curl -L ${ETCD_DOWNLOAD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz -o ${ETCD_VER}-linux-amd64.tar.gz
RUN mkdir etcd && tar xzvf ${ETCD_VER}-linux-amd64.tar.gz --strip-components=1 -C etcd
RUN rm -f ${ETCD_VER}-linux-amd64.tar.gz
2 changes: 2 additions & 0 deletions images/20-rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ RUN rm -rf \
COPY --from=k3s /output/install.sh /usr/src/image/libexec/k3os/k3s-install.sh
COPY --from=progs /output/metadata /usr/src/image/sbin/metadata
COPY --from=progs /output/kubectx/kubectx /output/kubectx/kubens /usr/src/image/bin/
COPY --from=progs /output/etcd/etcd /usr/src/image/sbin
COPY --from=progs /output/etcd/etcdctl /usr/src/image/bin

COPY overlay/ /usr/src/image/

Expand Down

0 comments on commit 3bda9bf

Please sign in to comment.