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 <[email protected]>
  • Loading branch information
smira committed Oct 15, 2019
1 parent d77bf89 commit e5b266a
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:
TOOLCHAIN_IMAGE: docker.io/autonomy/toolchain:0714f82
2 changes: 1 addition & 1 deletion base/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: base
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- image: "{{ .TOOLCHAIN_IMAGE }}"
runtime: true
- stage: make
runtime: true
2 changes: 1 addition & 1 deletion make/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: make
install:
- make
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- image: "{{ .TOOLCHAIN_IMAGE }}"
steps:
- sources:
- url: https://ftp.gnu.org/gnu/make/make-4.2.1.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion tools/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: tools
variant: scratch
shell: /toolchain/bin/bash
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- image: "{{ .TOOLCHAIN_IMAGE }}"
- stage: argp-standalone
- stage: autoconf
- stage: automake
Expand Down

0 comments on commit e5b266a

Please sign in to comment.