mirror of
https://github.com/esphome/esphome.git
synced 2026-05-28 04:55:48 +08:00
[docker] Suppress git detached HEAD advice (#13962)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Jesse Hills
parent
c08356b0c1
commit
297dfb0db4
+2
-1
@@ -9,7 +9,8 @@ FROM ghcr.io/esphome/docker-base:${BUILD_OS}-ha-addon-${BUILD_BASE_VERSION} AS b
|
|||||||
ARG BUILD_TYPE
|
ARG BUILD_TYPE
|
||||||
FROM base-source-${BUILD_TYPE} AS base
|
FROM base-source-${BUILD_TYPE} AS base
|
||||||
|
|
||||||
RUN git config --system --add safe.directory "*"
|
RUN git config --system --add safe.directory "*" \
|
||||||
|
&& git config --system advice.detachedHead false
|
||||||
|
|
||||||
# Install build tools for Python packages that require compilation
|
# Install build tools for Python packages that require compilation
|
||||||
# (e.g., ruamel.yaml.clibz used by ESP-IDF's idf-component-manager)
|
# (e.g., ruamel.yaml.clibz used by ESP-IDF's idf-component-manager)
|
||||||
|
|||||||
Reference in New Issue
Block a user