Skip to content

Commit

Permalink
feat: allow colony-scout binary on bin folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jairoFernandez committed Jun 15, 2024
1 parent 036bc9b commit fb2fbe7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion discovery/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ 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 && \
tar -xzvf colony-scout.tar.gz && \
chmod +x colony-scout
chmod +x colony-scout && \
mv colony-scout /usr/local/bin/

COPY . .

Expand Down
2 changes: 1 addition & 1 deletion discovery/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fb2fbe7

Please sign in to comment.