Commit graph

48 commits

Author SHA1 Message Date
Bojan Čekrlić
9fcd02f67c Fix: Refactor sasl compilation a bit, hopefuly to run without issues 2025-03-01 19:24:38 +01:00
Bojan Čekrlić
d0590c7c82 Fix: Position of whitespace was wrong and bash complained about syntax error. 2025-03-01 19:03:21 +01:00
Bojan Čekrlić
fb8761f43c Fix: Replace local with export, as local can only be used inside a function 2025-03-01 18:58:44 +01:00
Bojan Čekrlić
437fb8bdb5 Fix: Do not install rust on mips64el 2025-03-01 18:57:14 +01:00
Bojan Čekrlić
676da62a7f Fix: Do not install "msal" on linux/386 as the compilation fails 2025-03-01 18:37:21 +01:00
Bojan Čekrlić
6fd4b113ab Fix: Install rust and cargo through apk for Alpine
Otherwise, rus installer will die with "unsupported platform" on certain
architectures.
2025-03-01 18:33:32 +01:00
Bojan Čekrlić
430b881b43 Fix: Try to fix rust bindins build 2025-03-01 18:26:29 +01:00
Bojan Čekrlić
7b4d54f631 Fix: Uninstallation of rustup requires "-y" for non-interactive use 2025-03-01 17:57:21 +01:00
Bojan Čekrlić
9f551fa108 Fix: Missing python3-venv 2025-03-01 17:50:02 +01:00
Bojan Čekrlić
294a6baa05 Fix: Install latest version of rust for multi-platform build 2025-03-01 17:41:43 +01:00
Bojan Čekrlić
cbc07b1fea Fix: Fix multiplatform build of SASL2 2025-03-01 16:09:44 +01:00
Bojan Čekrlić
0e25ca0334 Fix building SASL 2025-03-01 15:53:38 +01:00
Bojan Čekrlić
69d1a4cd81 Fix: Create python venv after bulding SASL 2025-03-01 09:36:45 +01:00
Bojan Čekrlić
50c95039c4 Fix for installation of msal library
This will create a python venv and point sasl-xoauth2-tool to use
this venv. This way, when the user executes the command, it will
"automagically" work instead of failing.
2025-03-01 09:14:07 +01:00
Bojan Čekrlić
3b2d8db991 Fix: Remove python pre-installation as SASL building fails in that case 2025-03-01 08:07:48 +01:00
Bojan Čekrlić
92f514b647 Fix: Fix missing backslash 2025-02-28 20:24:18 +01:00
Bojan Čekrlić
b96f9e0cc0 Fix #227: Add msal library to installation 2025-02-28 20:15:07 +01:00
Bojan Čekrlić
bd3a68c4f5 Fix: Fix broken postfix-install.sh script, move other spaces to tabs as well 2025-02-28 19:17:01 +01:00
Bojan Čekrlić
07b46c743b Feat: Add the posibility to automatically set hostname on run 2025-02-28 18:58:23 +01:00
Bojan Čekrlić
0286619ef2 Fix: Install packages only if available on said architecture. 2025-01-26 17:02:43 +01:00
Bojan Čekrlić
0b2e8ee5a1 Fix: add some code documentation. 2025-01-26 16:48:29 +01:00
Bojan Čekrlić
6b2fa906c6 New: Add postfix-pgsql and postfix-mysql packages for integration with DBs 2025-01-26 16:41:43 +01:00
Bojan Čekrlić
5113756b08 Fix: Proper detection for libcurl4t64 2025-01-16 23:56:28 +01:00
Bojan Čekrlić
8a5aed21e8 Fix: Use libcurl4t64 where available, otherwise use libcurl4. 2025-01-16 23:44:12 +01:00
Bojan Čekrlić
1fcc02381e Fix: Rename libcurl4 to libcurl4t64 2025-01-16 23:34:40 +01:00
Bojan Čekrlić
f4051b7e05 Fix: Remove package colorized-logs as it's not available in Alpine 2025-01-16 23:13:24 +01:00
Bojan Čekrlić
bdb8f86848 Upd: Upgrade distro versions + fix a few typos 2025-01-16 22:46:45 +01:00
pixil98
11cc00c942
Include ldap support in docker image (#205)
* include postfix-ldap in docker build

* Add integration tests (#3)

* Redo ldap test to use postmap instead of sending email

---------

Co-authored-by: Aaron Reisman <areisman@epic.com>
2024-08-26 18:10:32 +02:00
Bojan Čekrlić
c50f864ed8 Fix #188: Create file /etc/default/locale
File is created "manually" to keep cron happy and prevent it from
spewing errors into the log. Hopefully this will be enough.
2024-04-23 07:23:57 +01:00
Bojan Čekrlić
025cb58d0e Upt: Add postfix-pcre, add additional checks for sanity and mount /tmp to emptydir 2024-02-25 09:12:28 +01:00
Filipe
f679500d9b Install procps 2023-10-29 08:44:10 +01:00
Kroese
fef288268e Use Debian Slim as base image 2023-10-27 19:02:08 +02:00
Bojan Čekrlić
e8c6cd5332 Fix: Make sure to use the proper name for pluginviewer based on distro
Debian/Ubuntu use 'saslpluginviewer`, so we should check for that.
2023-10-27 18:04:36 +02:00
Bojan Čekrlić
0ff0e80707 Fix: Fix for #146. 2023-10-27 17:44:20 +02:00
Bojan Čekrlić
696422015a Fix: Update how SASL-XOAUTH2 is build (without DOCS) to (re)enable more architectures 2023-10-27 13:47:37 +02:00
Bojan Čekrlić
b3c6fafa4d Fix: Fix integration tests with the new sasl-build script 2023-10-27 12:39:06 +02:00
Bojan Čekrlić
b343a7b3cd Fix: Return from trying to build pandoc if install is successful 2023-10-27 12:27:13 +02:00
Bojan Čekrlić
c60c65cfd4 Fix: Fix syntax error in sasl-build.sh 2023-10-27 12:23:56 +02:00
Bojan Čekrlić
19dd690641 Fix: Fix build for differrent archs, make Debian default image 2023-10-27 12:21:57 +02:00
Bojan Čekrlić
2d21a4f908 Upd: Add Debian building to the pipeline 2023-10-27 10:31:10 +02:00
Bojan Čekrlić
b90b336d04 Fix: Remove unneccessary dependendancy on external logrotate image
We now include logrotate in the the basic image. This does -- up to a
point -- reduce the "separation of concerns", but it simplifies image
management considerably and removes an unneccessary dependency on a
third-party container.
2023-10-27 09:38:54 +02:00
Bojan Čekrlić
1be2c20b89 Fix Ubuntu build and upgrade to latest Ubuntu LTS release 2023-02-09 09:22:59 +01:00
vcazsdk
075a99f6fd Fix sasl-xoauth2 alpine build error: basename was not declared 2022-09-13 08:24:26 +02:00
vcazsdk
f2daefd7e1 Add smtpd sender sasl authentication 2022-09-13 08:24:26 +02:00
vcazsdk
b6eaa3e838 Fix run error: dependency missing 2022-09-13 08:24:26 +02:00
Bojan Čekrlić
42078d5017 Fix: Fix multiplatform build caching issues
So, alpine will download platform-specific cache files, meaning that
when another platform tries to use the cache, it will fail with
packages not being found.
2022-06-09 15:32:07 +02:00
Bojan Čekrlić
7a22e1817d Fix: Run update before installing Alpine packages 2022-04-13 12:51:39 +02:00
Bojan Čekrlić
a6d10e6a13 Upd: Refactor Dockerfile and cache local builds
This refactor simplifies the `Dockerfile` by considerable amount:
new features of mobykit buildkit allow us to cache `apt`/`apk`
folder (so no need to delete `/var/lib/cache`) as well as extract
the build / install logic into separate files, which removes the
need for `&& \` and makes the code *much more* readable.

`build.sh` script has been updated as well to allow caching local
builds when testing, making it much more easier to test.
2022-04-13 09:57:46 +02:00