Skip to content

Commit

Permalink
Specify commit to checkout for esp-open-sdk (#801)
Browse files Browse the repository at this point in the history
Specify SHA1 to checkout for git clones
  • Loading branch information
MartinHerren authored and slaff committed Nov 15, 2016
1 parent 1343ba1 commit b3513fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b3513fe

Please sign in to comment.