Skip to content

Commit

Permalink
chore: use Pkgfile vars to expose base image better
Browse files Browse the repository at this point in the history
See siderolabs/bldr#34

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
  • Loading branch information
smira committed Oct 15, 2019
1 parent f374c5c commit e90e7b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Pkgfile
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# syntax = docker.io/autonomy/bldr:2b9366f-frontend
# syntax = docker.io/autonomy/bldr:1289eba-frontend

format: v1alpha2

vars:
TOOLS_IMAGE: docker.io/autonomy/tools:7de4db2
2 changes: 1 addition & 1 deletion base/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: base
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- image: docker.io/autonomy/tools:7de4db2
- image: "{{ .TOOLS_IMAGE }}"
- stage: musl
runtime: yes
steps:
Expand Down
2 changes: 1 addition & 1 deletion kernel/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: kernel
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- image: docker.io/autonomy/tools:7de4db2
- image: "{{ .TOOLS_IMAGE }}"
steps:
- sources:
- url: https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.3.6.tar.xz
Expand Down
2 changes: 1 addition & 1 deletion musl/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: musl
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- image: docker.io/autonomy/tools:7de4db2
- image: "{{ .TOOLS_IMAGE }}"
steps:
- sources:
- url: https://www.musl-libc.org/releases/musl-1.1.24.tar.gz
Expand Down

0 comments on commit e90e7b2

Please sign in to comment.