Skip to content

Commit

Permalink
Update to esp-adf 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmosely committed Oct 6, 2024
1 parent eebdcaf commit 27608ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
12 changes: 10 additions & 2 deletions esp-adf-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Check compatibility @ https://github.com/espressif/esp-adf?tab=readme-ov-file#idf-version
ARG IDF_RELEASE=v5.1.4
ARG ADF_RELEASE=v2.6
ARG IDF_RELEASE=v5.3.1
ARG ADF_RELEASE=v2.7

FROM espressif/idf:${IDF_RELEASE}

Expand All @@ -11,4 +11,12 @@ RUN apt-get update && apt-get install -y git && apt-get clean

RUN git clone --branch ${ADF_RELEASE} --single-branch --recursive https://github.com/espressif/esp-adf.git ${ADF_PATH}

WORKDIR ${ADF_PATH}
RUN ./install.sh

RUN echo 'alias get_adf=". ${ADF_PATH}/export.sh"' >>/root/.bashrc

COPY entrypoint.sh /opt/esp/adf-entrypoint.sh
RUN chmod +x /opt/esp/adf-entrypoint.sh
ENTRYPOINT [ "/opt/esp/adf-entrypoint.sh" ]
CMD ["/bin/bash"]
6 changes: 6 additions & 0 deletions esp-adf-docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -e

. $ADF_PATH/export.sh

exec "$@"

0 comments on commit 27608ee

Please sign in to comment.