operatorfabric-core icon indicating copy to clipboard operation
operatorfabric-core copied to clipboard

Build users service with spring native (#6813)

Open quinarygio opened this issue 1 year ago • 0 comments

To make it work on my ubuntu I had to install an additional library: sudo apt-get install zlib1g-dev

To build a native image of users service: cd services/users

gradle clean build

gradle nativeCompile

gradle bootBuildImage

Issues to be invetigated:

  • configuration proprties are taken ONLY from application.yml, so I had to copy configuration from common.yml and users.yml
  • JacksonConfig objectMapper bean was not instantiated correctly, so I removed it

quinarygio avatar Aug 22 '24 15:08 quinarygio