Commit Graph
649 Commits
Author SHA1 Message Date
Docker Library Bot aa204b15e0 Update 3.1 to 3.1-dev5 2024-08-07 10:13:43 -07:00
Docker Library Bot 027eb3e20e Update 3.1 to 3.1-dev4 2024-07-24 10:13:27 -07:00
Docker Library Bot bc729b3623 Update 3.0 to 3.0.3 2024-07-11 10:13:29 -07:00
Docker Library Bot da5603561f Update 3.1 to 3.1-dev3 2024-07-10 09:28:23 -07:00
Tianon Gravi 99a218b31a Update to actions/checkout@v4 🙃
(this is effectively a functional no-op solving a "problem" that really ought to be solved at a different level within GHA)
2024-07-09 15:38:23 -07:00
Docker Library Bot af88bbc918 Update 2.6 to 2.6.18 2024-06-18 10:18:02 -07:00
Docker Library Bot c72a79f8fe Update 2.4 to 2.4.27 2024-06-18 10:13:13 -07:00
Docker Library Bot 90192f6c7f Update 3.1 to 3.1-dev1 2024-06-14 09:53:54 -07:00
Docker Library Bot 12bf60c768 Update 3.0 to 3.0.2 2024-06-14 09:50:59 -07:00
Docker Library Bot e85e5b3e50 Update 2.9 to 2.9.9 2024-06-14 09:48:16 -07:00
Docker Library Bot 01b3b0d48c Update 2.8 to 2.8.10 2024-06-14 09:45:04 -07:00
Docker Library Bot 7a42aff80e Update 2.9 to 2.9.8 2024-06-11 10:30:40 -07:00
Docker Library Bot 3fa44c9703 Update 3.0 to 3.0.1 2024-06-10 07:42:35 -07:00
Tianon Gravi 4882a375a8 Update latest and lts aliases (3.0 is now GA and LTS) 2024-05-29 14:27:36 -07:00
Tianon Gravi 90c8ea2122 Merge pull request #234 from TimWolla/3.1
Add HAProxy 3.1
2024-05-29 11:29:07 -07:00
Tianon Gravi 77a1a2f9de Mark docker-entrypoint.sh as generated code
(missed in https://github.com/docker-library/haproxy/pull/232)
2024-05-29 11:28:03 -07:00
Tianon Gravi 5a0ac932e7 Merge pull request #233 from TimWolla/2.0-eol
Remove EOL 2.0
2024-05-29 11:26:53 -07:00
Tim Düsterhus 9a4501c94c Add HAProxy 3.1 2024-05-29 19:33:22 +02:00
Tim Düsterhus b6f781fbe6 Remove EOL 2.0 2024-05-29 19:31:58 +02:00
Docker Library Bot 25aca1c14c Update 3.0 to 3.0.0 2024-05-29 10:13:26 -07:00
Docker Library Bot 41ccd7198e Update 3.0 to 3.0-dev13 2024-05-24 10:13:32 -07:00
yosifkit fa5d16bfcc Merge pull request #232 from infosiftr/restore-2.0
Restore 2.0 (not yet EOL)
2024-05-23 10:32:55 -07:00
Tianon Gravi 7eb71e6990 Restore 2.0 (not yet EOL) 2024-05-23 10:14:39 -07:00
Tianon Gravi 67485bdf26 Merge pull request #231 from infosiftr/alpine3.20
Update to Alpine 3.20
2024-05-22 16:42:57 -07:00
Joseph Ferguson 5804096504 Update to Alpine 3.20
remove EOL 2.0
2024-05-22 16:39:55 -07:00
Docker Library Bot 893c649e60 Update 3.0 to 3.0-dev12 2024-05-18 10:13:26 -07:00
Docker Library Bot 8db4f308c7 Update 3.0 to 3.0-dev11 2024-05-10 10:13:26 -07:00
Docker Library Bot bee2455661 Update 3.0 to 3.0-dev10 2024-05-04 07:02:46 -07:00
Docker Library Bot 024ece8e67 Update 3.0 to 3.0-dev9 2024-04-27 07:13:26 -07:00
Docker Library Bot d033d2e4b3 Update 3.0 to 3.0-dev8 2024-04-19 10:13:28 -07:00
Tianon Gravi 1cae2e3526 Merge pull request #228 from TimWolla/2.7-eol
Remove EOL 2.7
2024-04-08 15:00:54 -07:00
Tim Düsterhus 2dbe02ffcf Remove EOL 2.7 2024-04-08 14:53:31 -07:00
yosifkit 8b639f8d7d Merge pull request #226 from L3n41c/remove_dev_packages
Fix `dpkg-query --search` to be more specific
2024-04-08 09:48:36 -07:00
Docker Library Bot d8cdcc09f9 Update 3.0 to 3.0-dev7 2024-04-06 10:13:30 -07:00
Lénaïc Huard e3b5621077 Remove the *-dev packages from the final image
Fixes #225

The issue comes from the logic that aims at removing the packages that were
needed to build `haproxy` but which are not needed at runtime anymore.

```bash
        find /usr/local -type f -executable -exec ldd '{}' ';' \
                | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); print so }' \
                | sort -u \
                | xargs -r dpkg-query --search \
                | cut -d: -f1 \
                | sort -u \
                | xargs -r apt-mark manual \

```

The `ldd` looks for the libraries that `haproxy` depends on, among which, `libc.so.6`.
The `awk` command reformats the output of `ldd` and produces, among other libraries:
```
lib/x86_64-linux-gnu/libc.so.6
```

Those files are then passed to `dpkg-query` to find their owning package.
And this is where the issue is coming from:

```
root@f6106d13cb42:/# dpkg-query --search lib/x86_64-linux-gnu/libc.so.6

libc6-dev:amd64: /usr/share/gdb/auto-load/lib/x86_64-linux-gnu/libc.so.6-gdb.py
libc6:amd64: /lib/x86_64-linux-gnu/libc.so.6
```

The issue is that the library we are interested in happens to also be a substring
of a GDB pretty-printing script that is obviously not needed at runtime by `haproxy`.
2024-04-06 04:53:53 +00:00
Docker Library Bot 92d0a2f516 Update 2.9 to 2.9.7 2024-04-05 17:53:00 -07:00
Docker Library Bot 5d34d74e22 Update 2.8 to 2.8.9 2024-04-05 17:25:38 -07:00
Docker Library Bot 2d23827e47 Update 2.7 to 2.7.12 2024-04-05 17:10:42 -07:00
Docker Library Bot 20e1b3f92d Update 2.6 to 2.6.17 2024-04-05 16:45:34 -07:00
Docker Library Bot 3a8296a8e5 Update 2.4 to 2.4.26 2024-04-05 16:22:57 -07:00
Docker Library Bot 3eaa160ca6 Update 2.2 to 2.2.33 2024-04-05 16:17:00 -07:00
Docker Library Bot ecaebdd6eb Update 2.0 to 2.0.35 2024-04-05 16:13:10 -07:00
Docker Library Bot 1f1e1651fb Update 3.0 to 3.0-dev6 2024-03-26 10:13:31 -07:00
Docker Library Bot 3fa21bcf0b Update 3.0 to 3.0-dev5 2024-03-09 10:13:30 -08:00
Docker Library Bot b63a60b648 Update 2.8 to 2.8.7 2024-02-26 16:14:01 -08:00
Docker Library Bot e14e1d121f Update 2.9 to 2.9.6 2024-02-26 10:13:28 -08:00
Docker Library Bot 7ff4e11460 Update 3.0 to 3.0-dev4 2024-02-23 16:13:31 -08:00
Docker Library Bot 9bb65c7591 Update 2.9 to 2.9.5 2024-02-15 16:13:28 -08:00
Docker Library Bot cc8baae413 Update 2.8 to 2.8.6 2024-02-15 10:13:25 -08:00
Docker Library Bot 2913aa63fe Update 3.0 to 3.0-dev3 2024-02-10 10:13:28 -08:00