-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7a432b
commit f6a93b0
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ LABEL maintainer="[email protected]" | |
ARG IMAGE_ARG | ||
ENV IMAGE=${IMAGE_ARG} | ||
|
||
ENV ETCD_VER=v3.3.0 | ||
ENV ETCD_URL=https://storage.googleapis.com/etcd | ||
ENV DEP_VER=v0.5.0 | ||
ENV DEP_CHECKSUM=287b08291e14f1fae8ba44374b26a2b12eb941af3497ed0ca649253e21ba2f83 | ||
|
||
RUN wget ${ETCD_URL}/${ETCD_VER}/etcd-${ETCD_VER}-linux-amd64.tar.gz && \ | ||
mkdir /etcd && \ | ||
tar xzf etcd-${ETCD_VER}-linux-amd64.tar.gz -C /etcd --strip-components=1 && \ | ||
rm -f etcd-${ETCD_VER}-linux-amd64.tar.gz | ||
RUN wget https://github.com/golang/dep/releases/download/${DEP_VER}/dep-linux-amd64 && \ | ||
bash -c "sha256sum -c <(echo ${DEP_CHECKSUM} dep-linux-amd64)" && \ | ||
mv dep-linux-amd64 /usr/local/bin/dep && \ | ||
chmod +x /usr/local/bin/dep | ||
|
||
ENV PATH "/etcd:${PATH}" |