File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
44ARG PALETTE_VERSION
55
6- FROM gcr.io/spectro-images-public/release/spectro-registry:${PALETTE_VERSION} as server
6+ FROM gcr.io/spectro-images-public/release/spectro-registry:${PALETTE_VERSION} AS server
77
88FROM alpine:latest
99
1010LABEL org.opencontainers.image.source="https://github.com/spectrocloud/tutorials"
11- LABEL org.opencontainers.image.description "An image containing all the Spectro Cloud tutorials and required tools."
11+ LABEL org.opencontainers.image.description= "An image containing all the Spectro Cloud tutorials and required tools."
1212
1313ADD terraform/ /terraform
1414ADD packs/ /packs
@@ -71,7 +71,9 @@ RUN wget https://spectro-cli.s3.amazonaws.com/v$PALETTE_REGISTRY_CLI_VERSION/li
7171
7272ADD https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip /usr/local/sbin/
7373RUN unzip /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip -d /usr/local/sbin && \
74- rm -rf /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip
74+ rm -rf /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip && \
75+ mkdir -p /home/appuser/.config/packer && mkdir /root/.spectro && \
76+ chown -R appuser:appuser /home/appuser/.config/packer terraform/ packs/ edge/ CanvOS/ /var/log/ /root/.spectro/ /etc/spectro/
7577EXPOSE 5000
7678
7779USER appuser
You can’t perform that action at this time.
0 commit comments