Skip to content

Commit

Permalink
chore: refactor build to be more self-hosted
Browse files Browse the repository at this point in the history
This removes Alpine packages in favor of internally built dependnecies.
There is one explicit dependency left: `make` requires Alpine `make` and
implicit dependencies on `bash`/`ca-certificates` in the base image (see

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Oct 14, 2019
1 parent 7de4db2 commit 2eab219
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 48 deletions.
3 changes: 1 addition & 2 deletions argp-standalone/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: argp-standalone
install:
- patch
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: patch
steps:
- sources:
- url: http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz
Expand Down
5 changes: 2 additions & 3 deletions autoconf/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: autoconf
install:
- perl
- m4
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: perl
- stage: m4
steps:
- sources:
- url: https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
Expand Down
6 changes: 3 additions & 3 deletions automake/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: automake
install:
- perl
- autoconf
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: perl
- stage: autoconf
- stage: m4
steps:
- sources:
- url: https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz
Expand Down
4 changes: 2 additions & 2 deletions bc/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: bc
install:
- texinfo
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: texinfo
- stage: perl
steps:
- sources:
- url: https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz
Expand Down
3 changes: 1 addition & 2 deletions bison/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: bison
install:
- perl
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: m4
- stage: make
- stage: perl
steps:
- sources:
- url: https://ftp.gnu.org/gnu/bison/bison-3.0.5.tar.xz
Expand Down
3 changes: 1 addition & 2 deletions cpio/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: cpio
install:
- autoconf
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: autoconf
steps:
- sources:
- url: https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz
Expand Down
5 changes: 2 additions & 3 deletions dejagnu/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: dejagnu
install:
- tcl
- expect
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: expect
- stage: tcl
steps:
- sources:
- url: https://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.1.tar.gz
Expand Down
Binary file modified deps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions elfutils/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: elfutils
install:
- patch
- autoconf
- automake
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: zlib
- stage: argp-standalone
- stage: musl-fts
- stage: musl-obstack
- stage: make
- stage: patch
- stage: autoconf
- stage: automake
- stage: perl
- stage: m4
steps:
- sources:
- url: https://sourceware.org/ftp/elfutils/0.173/elfutils-0.173.tar.bz2
Expand Down
9 changes: 5 additions & 4 deletions file/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: file
install:
- autoconf
- automake
- libtool
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: libtool
- stage: autoconf
- stage: automake
- stage: perl
- stage: m4
steps:
- sources:
- url: https://github.com/file/file/archive/FILE5_34.tar.gz
Expand Down
3 changes: 1 addition & 2 deletions flex/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: flex
install:
- m4
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: m4
steps:
- sources:
- url: https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
Expand Down
5 changes: 3 additions & 2 deletions git/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: git
install:
- autoconf
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: zlib
Expand All @@ -9,6 +7,9 @@ dependencies:
- stage: libressl
- stage: curl
- stage: make
- stage: autoconf
- stage: perl
- stage: m4
steps:
- sources:
- url: https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.20.1.tar.xz
Expand Down
3 changes: 1 addition & 2 deletions libtool/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: libtool
install:
- m4
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: m4
steps:
- sources:
- url: http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
Expand Down
12 changes: 6 additions & 6 deletions musl-fts/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: musl-fts
install:
- m4
- libtool
- autoconf
- automake
- pkgconfig
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: m4
- stage: libtool
- stage: autoconf
- stage: automake
- stage: pkg-config
- stage: perl
steps:
- sources:
- url: https://github.com/pullmoll/musl-fts/archive/v1.2.7/musl-fts-1.2.7.tar.gz
Expand Down
11 changes: 6 additions & 5 deletions musl-obstack/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: musl-obstack
install:
- libtool
- autoconf
- automake
- pkgconfig
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: libtool
- stage: autoconf
- stage: automake
- stage: pkg-config
- stage: perl
- stage: m4
steps:
- sources:
- url: https://github.com/pullmoll/musl-obstack/archive/v1.1/musl-obstack-1.1.tar.gz
Expand Down
3 changes: 1 addition & 2 deletions protobuf/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: protobuf
install:
- patch
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: patch
steps:
- sources:
- url: https://github.com/protocolbuffers/protobuf/releases/download/v3.7.1/protobuf-cpp-3.7.1.tar.gz
Expand Down
3 changes: 1 addition & 2 deletions squashfs-tools/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: squashfs-tools
install:
- patch
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: xz
- stage: zlib
- stage: make
- stage: patch
steps:
- sources:
- url: https://downloads.sourceforge.net/project/squashfs/squashfs/squashfs4.3/squashfs4.3.tar.gz
Expand Down
3 changes: 1 addition & 2 deletions texinfo/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: texinfo
install:
- perl
dependencies:
- image: docker.io/autonomy/toolchain:0714f82
- stage: make
- stage: perl
steps:
- sources:
- url: https://ftp.gnu.org/gnu/texinfo/texinfo-6.5.tar.xz
Expand Down

0 comments on commit 2eab219

Please sign in to comment.