Skip to content

Commit a4327fd

Browse files
committed
strip quotes in version numbers
1 parent 0f9be61 commit a4327fd

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@ RUN \
120120
/tmp/ha-docker-base && \
121121
HA_PY_VERSION=$(cat /tmp/ha-docker-base/python/${HA_PY_MAJOR}/build.yaml \
122122
| grep 'PYTHON_VERSION: ' \
123-
| sed 's|.*PYTHON_VERSION: ||') && \
123+
| sed 's|.*PYTHON_VERSION: ||' \
124+
| sed 's|"||g') && \
124125
HA_JEMALLOC_VER=$(cat /tmp/ha-docker-base/alpine/build.yaml \
125126
| grep 'JEMALLOC_VERSION: ' \
126-
| sed 's|.*JEMALLOC_VERSION: ||') && \
127+
| sed 's|.*JEMALLOC_VERSION: ||' \
128+
| sed 's|"||g') && \
127129
HA_ALPINE_VER=$(curl -fsL https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/build.yaml \
128130
| grep 'amd64: ' \
129131
| cut -d: -f3 \
@@ -135,7 +137,8 @@ RUN \
135137
fi && \
136138
HA_PIP_VERSION=$(cat /tmp/ha-docker-base/python/${HA_PY_MAJOR}/build.yaml \
137139
| grep 'PIP_VERSION: ' \
138-
| sed 's|.*PIP_VERSION: ||') && \
140+
| sed 's|.*PIP_VERSION: ||' \
141+
| sed 's|"||g') && \
139142
HA_UV_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'install uv==' | sed 's|RUN pip3 install uv==||') && \
140143
HA_GO2RTC_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'AlexxIT/go2rtc/releases/download' | sed -r 's|^.*AlexxIT/go2rtc/releases/download/(.*)/go2rtc_linux.*$|\1|') && \
141144
curl -o \

Dockerfile.aarch64

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,12 @@ RUN \
120120
/tmp/ha-docker-base && \
121121
HA_PY_VERSION=$(cat /tmp/ha-docker-base/python/${HA_PY_MAJOR}/build.yaml \
122122
| grep 'PYTHON_VERSION: ' \
123-
| sed 's|.*PYTHON_VERSION: ||') && \
123+
| sed 's|.*PYTHON_VERSION: ||' \
124+
| sed 's|"||g') && \
124125
HA_JEMALLOC_VER=$(cat /tmp/ha-docker-base/alpine/build.yaml \
125126
| grep 'JEMALLOC_VERSION: ' \
126-
| sed 's|.*JEMALLOC_VERSION: ||') && \
127+
| sed 's|.*JEMALLOC_VERSION: ||' \
128+
| sed 's|"||g') && \
127129
HA_ALPINE_VER=$(curl -fsL https://raw.githubusercontent.com/home-assistant/docker/${HASS_BASE}/build.yaml \
128130
| grep 'amd64: ' \
129131
| cut -d: -f3 \
@@ -135,7 +137,8 @@ RUN \
135137
fi && \
136138
HA_PIP_VERSION=$(cat /tmp/ha-docker-base/python/${HA_PY_MAJOR}/build.yaml \
137139
| grep 'PIP_VERSION: ' \
138-
| sed 's|.*PIP_VERSION: ||') && \
140+
| sed 's|.*PIP_VERSION: ||' \
141+
| sed 's|"||g') && \
139142
HA_UV_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'install uv==' | sed 's|RUN pip3 install uv==||') && \
140143
HA_GO2RTC_VERSION=$(curl -fsL "https://raw.githubusercontent.com/home-assistant/core/refs/tags/${HASS_RELEASE}/Dockerfile" | grep 'AlexxIT/go2rtc/releases/download' | sed -r 's|^.*AlexxIT/go2rtc/releases/download/(.*)/go2rtc_linux.*$|\1|') && \
141144
curl -o \

0 commit comments

Comments
 (0)