Import apache2 for testing
Create `971-Robot-Code/ldap.json`. It is a JSON file with the LDAP URL
and password.
{
"ldap_bind_dn": "...",
"ldap_url": "...",
"ldap_password": "..."
}
Run like this:
$ bazel run //build_tests:apache_https_demo
Then you can navigate to `https://localhost:7000`.
If the ports are taken, customize with:
* `--https_port`
* `--wrapped_port`
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I56432388b774932fc6cf295da52ac8bc9e974cd7
diff --git a/debian/BUILD b/debian/BUILD
index 0540a28..76bcf28 100644
--- a/debian/BUILD
+++ b/debian/BUILD
@@ -3,6 +3,10 @@
python_debs = "files",
)
load(
+ ":apache2.bzl",
+ apache2_debs = "files",
+)
+load(
":patch.bzl",
patch_debs = "files",
)
@@ -112,6 +116,26 @@
)
download_packages(
+ name = "download_apache2_packages",
+ excludes = [
+ "libaprutil1-dbd-mysql",
+ "libaprutil1-dbd-odbc",
+ "libaprutil1-dbd-pgsql",
+ "libaprutil1-dbd-freetds",
+ "libstdc++6",
+ "lsb-base",
+ "debconf",
+ "libc6-dev",
+ ],
+ force_includes = [
+ "libaprutil1",
+ ],
+ packages = [
+ "apache2",
+ ],
+)
+
+download_packages(
name = "download_python_deps",
excludes = [
"libblas.so.3",
@@ -253,6 +277,12 @@
)
generate_deb_tarball(
+ name = "apache2",
+ files = apache2_debs,
+ target_compatible_with = ["@platforms//os:linux"],
+)
+
+generate_deb_tarball(
name = "patch",
files = patch_debs,
target_compatible_with = ["@platforms//os:linux"],