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 17, 2024
1 parent 036bc9b commit e966160
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions discovery/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc13
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 . .

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 e966160

Please sign in to comment.