From b3513fe2a367f47446db4c003f4e7a0b0e686f38 Mon Sep 17 00:00:00 2001 From: Martin Herren Date: Tue, 15 Nov 2016 22:15:06 +0100 Subject: [PATCH] Specify commit to checkout for esp-open-sdk (#801) Specify SHA1 to checkout for git clones --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a028dbac3a..2ef2e20411 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -69,7 +69,7 @@ RUN rm "node-v$NODE_VERSION-linux-x64.tar.xz" SHASUMS256.txt.asc SHASUMS256.txt # Install Cloud9 # ------------------------------------------------------------------------------ -RUN git clone https://github.com/c9/core.git /opt/cloud9 +RUN git clone https://github.com/c9/core.git /opt/cloud9 && cd /opt/cloud9 && git checkout 32fc12bf922288d0c2b518c73aa75e19f14bed8b WORKDIR /opt/cloud9 RUN scripts/install-sdk.sh RUN npm install @@ -109,7 +109,7 @@ RUN useradd -d /home/espbuilder -m espbuilder && \ echo "espbuilder ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/espbuilder && \ chmod 0440 /etc/sudoers.d/espbuilder -RUN cd /opt && git clone --recursive https://github.com/pfalcon/esp-open-sdk.git +RUN cd /opt && git clone --recursive https://github.com/pfalcon/esp-open-sdk.git && cd /opt/esp-open-sdk && git checkout e8d757b1a70a5cf19df0afe23a769739c6cff343 RUN chmod 777 -R /opt/esp-open-sdk USER espbuilder @@ -145,7 +145,7 @@ RUN wget https://github.com/themadinventor/esptool/archive/master.zip && unzip m # Install esptool2 # ------------------------------------------------------------------------------ -RUN cd $ESP_HOME && git clone https://github.com/raburton/esptool2 +RUN cd $ESP_HOME && git clone https://github.com/raburton/esptool2 && cd $ESP_HOME/esptool2 && git checkout ec0e2c72952f4fa8242eedd307c58a479d845abe RUN cd $ESP_HOME/esptool2 && make ENV PATH $ESP_HOME/esptool2:$PATH