Update create_homeassistant.sh
This commit is contained in:
parent
6ae7484d03
commit
bcb0dcc436
1 changed files with 1 additions and 2 deletions
|
@ -126,8 +126,7 @@ sed -i "s/%%BASE_IMAGE%%/${BASE_IMAGE}/g" "$WORKSPACE/Dockerfile"
|
|||
sed -i "s/%%VERSION%%/${DOCKER_TAG}/g" "$WORKSPACE/Dockerfile"
|
||||
echo "LABEL io.hass.version=\"$DOCKER_TAG\" io.hass.type=\"homeassistant\" io.hass.machine=\"$MACHINE\"" >> "$WORKSPACE/Dockerfile"
|
||||
|
||||
git clone https://github.com/home-assistant/home-assistant "$HASS_GIT"
|
||||
cd "$HASS_GIT" && git checkout "$DOCKER_TAG"
|
||||
git clone --depth 1 -b "$DOCKER_TAG" https://github.com/home-assistant/home-assistant "$HASS_GIT"
|
||||
|
||||
# Run build
|
||||
echo "[INFO] start docker build"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue