Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add upstream luet and track it with renovate #138

Merged
merged 3 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
ARG SECURITY_PROFILE=generic
FROM quay.io/kairos/packages:luet-utils-0.35.2 AS luet
FROM quay.io/kairos/packages-arm64:luet-utils-0.35.2 AS luet-arm64
# renovate: datasource=docker depName=quay.io/luet/base versioning:semver
FROM quay.io/luet/base:0.35.4 AS luet

FROM alpine AS alpine-amd64
FROM alpine AS base
ENV LUET_NOLOCK=true
COPY --from=luet /usr/bin/luet /usr/bin/luet

FROM alpine AS alpine-arm64
ENV LUET_NOLOCK=true
COPY --from=luet-arm64 /usr/bin/luet /usr/bin/luet

# Common packages for all images
FROM alpine-${TARGETARCH} AS base
COPY repositories.yaml /repositories.yaml
RUN luet install -y --config repositories.yaml --system-target /framework \
dracut/kairos-network \
Expand Down Expand Up @@ -45,7 +38,6 @@ RUN luet cleanup --system-target /framework
RUN rm -rf /framework/var/luet

FROM scratch AS final
ARG TARGETARCH
COPY repositories.yaml /etc/luet/luet.yaml
COPY --from=post /framework /
COPY --from=post /usr/bin/luet /usr/bin/luet
4 changes: 2 additions & 2 deletions repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ repositories:
urls:
- "quay.io/kairos/packages"
# renovate: datasource=docker depName=quay.io/kairos/packages
reference: 202408021047-git16b1d80d-repository.yaml
reference: 202408021333-git06a28240-repository.yaml
- !!merge <<: *kairos
arch: arm64
urls:
- "quay.io/kairos/packages-arm64"
# renovate: datasource=docker depName=quay.io/kairos/packages-arm64
reference: 202408021107-git16b1d80d-repository.yaml
reference: 202408021346-git06a28240-repository.yaml