Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
3pings committed Apr 21, 2023
1 parent 5a749eb commit 4ad067b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,20 @@ COPY --from=spectro-base / /
COPY --from=provider-k3s / /

RUN mkdir -p /etc/luet/repos.conf.d && \
SPECTRO_LUET_VERSION=${SPECTRO_LUET_VERSION} luet repo add spectro --type docker --url gcr.io/spectro-dev-public/luet-repo --priority 1 -y && \
luet repo add spectro --type docker --url gcr.io/spectro-dev-public/luet-repo --priority 1 -y && \
luet repo add kairos --type docker --url quay.io/kairos/packages -y && \
luet repo update


RUN luet install -y k8s/k3s@$K8S_VERSION && luet cleanup
RUN luet install -y system/elemental-cli && luet cleanup


ENV OS_ID=${BASE_IMAGE_NAME}-k3s
ENV OS_ID=ubuntu
ENV OS_VERSION=22.04
# ENV OS_ID=${BASE_IMAGE_NAME}-k3s
ENV OS_NAME=$OS_ID:${SPECTRO_VERSION}
ENV OS_REPO=${IMAGE_REPOSITORY}
ENV OS_VERSION=${K8S_VERSION}_${SPECTRO_VERSION}
# ENV OS_VERSION=${K8S_VERSION}_${SPECTRO_VERSION}
ENV OS_LABEL=${BASE_IMAGE_TAG}_${K8S_VERSION}_${SPECTRO_VERSION}
RUN envsubst >/etc/os-release </usr/lib/os-release.tmpl

Expand Down

0 comments on commit 4ad067b

Please sign in to comment.