Skip to content

Commit 8e8e25b

Browse files
authored
Merge pull request #27 from Itxaka/tools_elemental_from_repo
2 parents a871cfc + 1b9b20a commit 8e8e25b

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

tools-image/Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# https://quay.io/repository/kairos/packages?tab=tags&tag=latest
2-
ARG ELEMENTAL_CLI_VERSION=0.20221121.1
32
ARG LEAP_VERSION=15.4
43
ARG LUET_VERSION=0.33.0
5-
FROM quay.io/kairos/packages:elemental-cli-system-$ELEMENTAL_CLI_VERSION AS elemental
64
FROM quay.io/luet/base:$LUET_VERSION AS luet
75

8-
### TODO: Replace those naked Dockerfiles copies with luet install so we can keep track of all versioning with 1 repository tag
9-
### 1) Add the kairos repository with a reference
10-
### 2) populate folders accordingly
6+
FROM opensuse/leap:$LEAP_VERSION as elemental-install
7+
COPY --from=luet /usr/bin/luet /usr/bin/luet
8+
ENV LUET_NOLOCK=true
9+
COPY luet.yaml /etc/luet/luet.yaml
10+
RUN luet install -y system/elemental-cli
1111

1212
## amd64 Live CD artifacts
1313
FROM quay.io/kairos/packages:grub2-livecd-0.0.6 AS grub2
@@ -35,7 +35,7 @@ FROM quay.io/kairos/packages:grub-config-static-0.1 AS grub-raw-config
3535
FROM quay.io/kairos/packages:grub-artifacts-static-0.1 AS grub-raw-artifacts
3636

3737
FROM opensuse/leap:$LEAP_VERSION
38-
COPY --from=elemental /usr/bin/elemental /usr/bin/elemental
38+
COPY --from=elemental-install /usr/bin/elemental /usr/bin/elemental
3939
COPY --from=luet /usr/bin/luet /usr/bin/luet
4040

4141
# x86_64 ISOs

tools-image/luet.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
general:
2+
debug: false
3+
enable_emoji: true
4+
spinner_charset: 9
5+
repositories:
6+
- name: "kairos"
7+
description: "kairos repository"
8+
type: "docker"
9+
arch: amd64
10+
cached: true
11+
priority: 2
12+
urls:
13+
- "quay.io/kairos/packages"
14+
reference: 20230324073123-repository.yaml
15+
- name: "kairos-arm64"
16+
description: "kairos repository arm64"
17+
type: "docker"
18+
arch: arm64
19+
cached: true
20+
priority: 2
21+
urls:
22+
- "quay.io/kairos/packages-arm64"
23+
reference: 20230324075000-repository.yaml

0 commit comments

Comments
 (0)