1
mirror of https://github.com/home-assistant/supervisor synced 2024-09-30 00:40:19 +02:00

Update build script

This commit is contained in:
Pascal Vizeli 2017-03-15 22:57:03 +01:00
parent 2e0773bdbc
commit 1b75e982e6
2 changed files with 5 additions and 5 deletions

View File

@ -51,6 +51,8 @@ case $MACHINE in
;;
esac
HASSIO_SUPERVISOR=pvizeli/${ARCH}-hassio-supervisor
echo "[INFO] Checkout repository"
mkdir -p $BUILD_DIR
cd $BUILD_DIR && git clone $RESIN_REPO resin-board
@ -59,10 +61,8 @@ if [ $RESIN_BRANCH != "master" ]; then
fi
cd $WORKSPACE && git submodule update --init --recursive
# When supervisorTag is provided, you the appropiate barys argument
if [ "$supervisorTag" != "" ]; then
BARYS_ARGUMENTS_VAR="$BARYS_ARGUMENTS_VAR --supervisor-tag $supervisorTag"
fi
# Additional variables
BARYS_ARGUMENTS_VAR="-a RESIN_CONNECTABLE=0 -a DEVELOPMENT_IMAGE=0 -a $HASSIO_SUPERVISOR"
# Make sure shared directories are in place
mkdir -p $DOWNLOAD_DIR

View File

@ -8,7 +8,7 @@ RUN apk del --no-cache python*
ENV LANG C.UTF-8
# setup base
RUN apk add --no-cache python3
RUN apk add --no-cache python3 docker
# install aiohttp
RUN pip3 install pip --no-cache --upgrade && pip3 install --no-cache aiohttp