diff --git a/discovery/Dockerfile b/discovery/Dockerfile index 2ea8c13..84a0fce 100644 --- a/discovery/Dockerfile +++ b/discovery/Dockerfile @@ -2,11 +2,11 @@ FROM alpine:3.13.1 RUN apk add --no-cache util-linux curl -ARG COLONY_SCOUT_VERSION=0.0.8-rc1 - -RUN curl -L -o colony-scout.tar.gz https://assets.kubefirst.com/colony/colony-scout_${COLONY_SCOUT_VERSION}_linux_amd64.tar.gz && \ +ARG COLONY_SCOUT_VERSION=0.0.8-rc10 +RUN curl -L -o colony-scout.tar.gz https://assets.kubefirst.com/colony/colony-scout_.${COLONY_SCOUT_VERSION}_Linux_x86_64.tar.gz && \ tar -xzvf colony-scout.tar.gz && \ - chmod +x colony-scout + chmod +x colony-scout && \ + mv colony-scout /usr/local/bin/ COPY . . diff --git a/discovery/entrypoint.sh b/discovery/entrypoint.sh index 94b1812..199202a 100755 --- a/discovery/entrypoint.sh +++ b/discovery/entrypoint.sh @@ -13,7 +13,7 @@ if [ -z "${COLONY_API_KEY}" ]; then fi update_hardware() { - output=$(./colony-scout discovery \ + output=$(colony-scout discovery \ --token="${COLONY_API_KEY}" \ --hardware-id="${K1_COLONY_HARDWARE_ID}" 2>&1)