Skip to content

Commit

Permalink
Add upstream luet and track it with renovate (#138)
Browse files Browse the repository at this point in the history
* Add upstream luet and track it with renovate

Signed-off-by: Itxaka <[email protected]>

* Bump repos as well

Signed-off-by: Itxaka <[email protected]>

---------

Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka authored Aug 2, 2024
1 parent 02be72d commit 0989e13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
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

0 comments on commit 0989e13

Please sign in to comment.