Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into getting-started-tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
caroldelwing committed Sep 17, 2024
2 parents d8ae3b4 + d06502e commit 00fcf7a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

ARG PALETTE_VERSION

FROM gcr.io/spectro-images-public/release/spectro-registry:${PALETTE_VERSION} as server
FROM gcr.io/spectro-images-public/release/spectro-registry:${PALETTE_VERSION} AS server

FROM alpine:latest

LABEL org.opencontainers.image.source="https://github.com/spectrocloud/tutorials"
LABEL org.opencontainers.image.description "An image containing all the Spectro Cloud tutorials and required tools."
LABEL org.opencontainers.image.description="An image containing all the Spectro Cloud tutorials and required tools."

ADD terraform/ /terraform
ADD packs/ /packs
Expand Down Expand Up @@ -77,7 +77,9 @@ RUN wget https://spectro-cli.s3.amazonaws.com/v$PALETTE_REGISTRY_CLI_VERSION/li

ADD https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip /usr/local/sbin/
RUN unzip /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip -d /usr/local/sbin && \
rm -rf /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip
rm -rf /usr/local/sbin/packer_${PACKER_VERSION}_linux_amd64.zip && \
mkdir -p /home/appuser/.config/packer && mkdir /root/.spectro && \
chown -R appuser:appuser /home/appuser/.config/packer terraform/ packs/ edge/ CanvOS/ /var/log/ /root/.spectro/ /etc/spectro/
EXPOSE 5000

USER appuser
Expand Down

0 comments on commit 00fcf7a

Please sign in to comment.