Set `dep_version` correctly
[#i158614302]
@@ -13,7 +13,7 @@ RUN apt-get update && \
apt-get -y autoremove --purge
# Install Dep
-RUN dep_version=$(curl --silent "https://api.github.com/repos/golang/dep/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') && \
+RUN export dep_version=$(curl --silent "https://api.github.com/repos/golang/dep/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/') && \
wget "https://github.com/golang/dep/releases/download/${dep_version}/dep-linux-amd64" && \
install -b dep-linux-amd64 /usr/local/bin/dep && \
rm dep-linux-amd64
\ No newline at end of file
