Vladimir Sitnikov
Vladimir Sitnikov
@mathieu-benoit , I've tested the branch with Apple M1. The branch seems to fix the build issues. `skaffold run` executes, and the demo app seems to be running with OrbStack...
Looks like the services are fine for me: ``` NAME READY STATUS RESTARTS AGE adservice-5b779c9565-jrd7f 1/1 Running 0 8h cartservice-6cb7856b7f-6b2hv 1/1 Running 0 8h checkoutservice-55bfc5bcfb-6nqb5 1/1 Running 0 8h currencyservice-5d5b997c67-g25jd...
I just checked `python` binary within emailservice container, and it is indeed x86-64: ``` % file python3.12 python3.12: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter...
The build fails now: ``` #9 190.4 cc1: warning: command-line option '-std=c++14' is valid for C++/ObjC++ but not for C #9 190.4 In file included from third_party/abseil-cpp/absl/base/internal/low_level_alloc.cc:26: #9 190.4 third_party/abseil-cpp/absl/base/internal/direct_mmap.h:36:10:...
The following fixes the build to a certain degree: ```diff diff --git a/src/emailservice/Dockerfile b/src/emailservice/Dockerfile index 9105a5a5..3a69c2a3 100644 --- a/src/emailservice/Dockerfile +++ b/src/emailservice/Dockerfile @@ -17,7 +17,7 @@ FROM --platform=$BUILDPLATFORM python:3.12.8-alpine@sha256:54bec49592c8455de8d59 FROM base...
Here's the fix: `linux-headers` is needed during the build time, and `libstdc++` is needed in the runtime. ```diff diff --git a/src/emailservice/Dockerfile b/src/emailservice/Dockerfile index 9105a5a5..6f6c2dcb 100644 --- a/src/emailservice/Dockerfile +++ b/src/emailservice/Dockerfile @@...
Just in case, the following code sets `noTimestamp` in Kotlin DSL, Gradle 5.2.1: ``` allprojects { plugins.withType { tasks.named("javadoc") { (options as StandardJavadocDocletOptions).noTimestamp.value = true } } ... ```
This is still relevant