From 2fc4645191023da19c4eb6d391bc9dcadd6724f5 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Wed, 20 Sep 2023 17:17:09 -0700 Subject: [PATCH] ci: fixed incorrect version --- Dockerfile | 3 ++- docs/docker.md | 11 ++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index d2df0c0..53e1a32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ ADD static/defaults/htpasswd-basic /auth/htpasswd-basic ADD static/defaults/ngrok.yml /auth/ngrok.yml ADD static/defaults/registry-config.yml etc/spectro/config.yml + ARG PALETTE_CLI_VERSION ARG PALETTE_EDGE_VERSION ARG PACKER_VERSION=1.9.4 @@ -30,7 +31,7 @@ RUN adduser -H -u 1002 -D appuser appuser && \ apk update && \ apk add --no-cache bash curl git terraform openssl jq bind-tools wget ca-certificates nano -RUN wget https://software.spectrocloud.com/spectro-registry/v$PALETTE_CLI_VERSION/cli/linux/spectro && \ +RUN wget https://software.spectrocloud.com/spectro-registry/cli/v$PALETTE_CLI_VERSION/linux/spectro && \ mv spectro /usr/local/bin/spectro && \ chmod +x /usr/local/bin/spectro && \ wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz && \ diff --git a/docs/docker.md b/docs/docker.md index 5a266be..9aa7a27 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -63,12 +63,5 @@ If you are wanting to build the docker image locally you must provide the the bu ```shell -make build-docker VERSION=3.4.0 EDGE=3.4.3 -``` - -OR - -```shell -docker build --build-arg PALETTE_VERSION=3.3.0 --build-arg PALETTE_CLI_VERSION=3.4.0 --build-arg PALETTE_EDGE_VERSION=3.4.3 --build-arg PACKER_VERSION=1.8.7 -t tutorials . -``` - +docker build --build-arg PALETTE_VERSION=4.0.1 --build-arg PALETTE_CLI_VERSION=4.0.1 --build-arg PALETTE_EDGE_VERSION=3.4.3 --build-arg PACKER_VERSION=1.9.4 -t tutorials . +``` \ No newline at end of file