Skip to content
  • aguestuser's avatar
    [ag] Update dockerfile to match config in passing local build · a7b4f463
    aguestuser authored
    * PROBLEM: the build fails on gitlab in a debian-based docker container
    * BUT: i (@aguestuser) have a recently-achieved passing build on a
      debian laptop
    * ATTEMPTED SOLUTION: construct a dockerfile that matches my local
      configuration as precisely as possible
    * PROGRESS: the build gets further than it did before -- getting part of
      the way through the `buildNative` gradle script before failing
    * REMAINING FAILURE: several arm64 cross-compile steps in the
      `ndk-build` step fail because they depend on
      [neon](https://developer.android.com/ndk/guides/cpu-arm-neon.html):
    
    ```shell
    [arm64-v8a] Compile        : crypto_static <= aesv8-armx-64.S
    openssl/crypto/aes/asm/aesv8-armx-64.S:35:2: error: instruction requires: neon
     eor v0.16b,v0.16b,v0.16b
     ^
    openssl/crypto/aes/asm/aesv8-armx-64.S:36:2: error: instruction requires: neon
     ld1 {v3.16b},[x0],#16
     ^
    openssl/crypto/aes/asm/aesv8-armx-64.S:38:2: error: instruction requires: neon
     ld1 {v1.4s,v2.4s},[x3],#32
    ```
    
    * PROPOSED NEXT STEPS:
      * consult team to see if there's any collective wisdom about `neon`
      * look for ways to analyze diff of c dependencies in local machine
        v. docker instance
      * consider using ubuntu or debian:sid as the base image for the
        android container?
    a7b4f463