Commit Graph

41 Commits

Author SHA1 Message Date
Tim Stack
03a17ef226 [muslbuilder] try to fix curl build 2024-02-01 10:21:51 -08:00
Tim Stack
f17d9c157b [muslbuilder] re-order the packages to put more frequently updated ones last 2024-02-01 10:07:08 -08:00
Tim Stack
eea3fcdb59 [muslbuilder] add zip in the right place 2024-01-31 21:29:13 -08:00
Tim Stack
c48322b23f [muslbuilder] re-add zip, needed for packaging 2024-01-31 14:40:04 -08:00
Tim Stack
84ce978e20 [muslbuilder] bump zlib version 2024-01-31 08:19:36 -08:00
Tim Stack
733366e285 [muslbuilder] bump sqlite version 2024-01-31 07:30:22 -08:00
Suresh Sundriyal
7e9bdfbfcd Revert "[build] Use cURL instaed of git to get lnav from the repository."
This reverts commit 3f33d9d17a.
2023-08-03 01:00:37 -07:00
Suresh Sundriyal
3a45802d7d Revert "[build] Link the built binaries from the previous layers."
This reverts commit eb0cdd2486.
2023-07-22 13:39:06 -07:00
Suresh Sundriyal
e005ac0d50 Revert "[build] Compile ncurses without gpm support."
This reverts commit 5d87712fa8.
2023-07-22 13:38:50 -07:00
Suresh Sundriyal
eb0cdd2486 [build] Link the built binaries from the previous layers. 2023-07-22 13:08:34 -07:00
Suresh Sundriyal
3507118371 [build] Stop linking libdl with curl and libssh2. 2023-07-22 13:08:34 -07:00
Suresh Sundriyal
5d87712fa8 [build] Compile ncurses without gpm support. 2023-07-22 13:08:34 -07:00
Suresh Sundriyal
3f33d9d17a [build] Use cURL instaed of git to get lnav from the repository. 2023-07-13 15:39:22 -07:00
Suresh Sundriyal
192f2de374 [build] Build ncurses without unnecessary artifacts. 2023-07-13 15:36:52 -07:00
Suresh Sundriyal
5490fee155 [build] Create Docker images with latest alpine. 2023-07-13 15:35:21 -07:00
Suresh Sundriyal
7904b5fdd4 [build] Do a multi-stage Docker build. 2023-07-12 23:03:36 -07:00
Suresh Sundriyal
992d14dcb1 [build] Remove --with-default-terminfo-dir directive.
This seems to be settting the install path for the terminfo. As a result
the terminfo doesn't seem to be written in to fake.root.
2023-07-12 19:47:48 -07:00
Suresh Sundriyal
bc42ea0c07 [build] Install ncurses packages on the build machine.
Ncurses requires the terminfo database and infocmp to be installed on
the build machine to configure the fallback entries.
2023-07-12 19:08:11 -07:00
Suresh Sundriyal
1fb471f4ba [build] Remove apk update.
Since we are passing in the `--no-cache` option to `apk add`; `apk
update` unnecessarily adds a local index; increasing the size of the
container image.
2023-07-12 17:38:09 -07:00
Suresh Sundriyal
0ece2e4ac6 [build] Update readline version. 2023-07-12 16:17:21 -07:00
Suresh Sundriyal
ed72362b50 [build] Remove libexecinfo dependency on musl builds.
muslc does not expose the frame related information to execinfo.
Compiling with libexecinfo on muslc builds doesn't really serve any purpose.
2023-07-12 16:07:19 -07:00
Suresh Sundriyal
3e6a695f68 [buid] Disable shared libraries on a few more components. 2023-07-12 10:02:55 -07:00
Suresh Sundriyal
7053efabb6 [build] Only compile shared versions of the library. 2023-07-11 16:17:55 -07:00
Suresh Sundriyal
969bc582a2 [build] Trim down Dockerfile
Remove the unnecessary packages and the ones that are already installed
as part of dependencies and meta-packages.

Also compile whatever we explicitly link against.
2023-07-11 10:06:41 -07:00
Suresh Sundriyal
ff0b112728 [build] Optimize the Dockerfile
Optimize the Dockerfile according to the best practices described here:
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
2023-07-09 09:24:06 -07:00
Suresh Sundriyal
1ec9fc8e22 [build] Remove unnecessary entries in the Dockerfile.
Cmake isn't used in the build script and make is installed on
the container image using apk and doesn't need to be compiled from
source.
2023-07-08 18:17:58 -07:00
Tim Stack
44d8e0d2af [build] use TARGETPLATFORM instead 2023-07-07 19:23:40 -07:00
Tim Stack
c8fa534c7d [build] change the FROM in the Dockerfile 2023-07-07 19:02:19 -07:00
Suresh Sundriyal
9fe7f61f3f [container] Allow building a container for multiple platforms.
Take in the architecture as a build argument in the Dockerfile.

The various images can be built by passing in the ARCH build argument
while building the images:

```
* docker image build --build-arg ARCH=arm32v7 -t ... (arm32v7)
* docker image build --build-arg ARCH=arm64v8 -t ... (aarch64)
* docker image build  -t ... (amd64)
```

Re: #558
2023-07-07 13:27:50 -07:00
Tim Stack
e3f4330377 [build] add --platform to Dockerfiles 2023-07-03 13:54:50 -07:00
Tim Stack
c82bcf2b90 [build] add zstd-dev to alpine 2023-06-24 06:29:24 -07:00
Tim Stack
d3d25bae4c [muslbuild] install more stuff 2023-06-15 07:48:09 -07:00
Tim Stack
e6f5a95a80 [release] add zstd to alpine and some other release tweaks 2023-06-15 06:16:01 -07:00
Tim Stack
f096824034 [build] general actions improvements 2023-06-12 08:30:49 -07:00
Tim Stack
a403788d90 [build] fix some typos 2023-06-11 22:22:01 -07:00
Tim Stack
1cc35fd6be [build] move into extract 2023-06-11 21:58:26 -07:00
Tim Stack
b529ecf979 [build] move to dockerfile 2023-06-11 21:56:27 -07:00
Tim Stack
b357efea7a [build] fix ncurses url 2023-06-11 21:42:13 -07:00
Tim Stack
7a08a54f59 [build] install deps 2023-06-11 21:40:27 -07:00
Tim Stack
2c478c921f [build] downgrade alpine version 2023-06-11 21:27:12 -07:00
Tim Stack
156eb1d779 [build] more stuff 2023-06-11 21:25:24 -07:00