From 563abf7f149f8d195520e05dc3f5a436148edccc Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Fri, 16 Jun 2023 10:49:07 -0700 Subject: [PATCH] fix: added registry config file (#18) --- Dockerfile | 2 ++ docs/docker.md | 2 +- static/defaults/registry-config.yml | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 static/defaults/registry-config.yml diff --git a/Dockerfile b/Dockerfile index 430bdfb..96739cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ ADD terraform/ /terraform ADD packs/ /packs 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 @@ -23,6 +24,7 @@ ENV REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd-basic COPY --from=server /registry /usr/local/bin/ 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 && \ diff --git a/docs/docker.md b/docs/docker.md index d5ff534..5520b1d 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -61,7 +61,7 @@ If you are wanting to build the docker image locally you must provide the the bu ```shell -make build-docker VERSION=3.3.0 EDGE=3.4.3 +make build-docker VERSION=3.4.0 EDGE=3.4.3 ``` OR diff --git a/static/defaults/registry-config.yml b/static/defaults/registry-config.yml new file mode 100644 index 0000000..58d38fd --- /dev/null +++ b/static/defaults/registry-config.yml @@ -0,0 +1,6 @@ +version: 0.1 +log: + level: debug +storage: inmemory +http: + addr: :5000 \ No newline at end of file