Go to file
Michel Thebeau 07414fd91c reduce size of stx-oidc-client image
Use Docker multi-stage build to start stx-oidc-client image from
'scratch' after using the upstream go image as builder.

Build the stx-oidc-client executable as statically linked.

This commit removes the build image and module downloads which are
approximately 500MB.  Instead of those artifacts take a snapshot of the
go version and downloaded file list.

Test plan:

PASS: build image
PASS: sanity on isolated executable
PASS: inspect image content/size
PASS: application sanity; authenticate and run kubectl command, review
      logs

Story: 2009831
Task: 46463

Change-Id: I7d911a133fa95537b957ef964916fc6e4ca5dcf1
Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
2022-10-03 17:35:36 -04:00
2020-03-03 09:07:16 -05:00
2019-12-06 17:46:31 +00:00
2021-09-09 10:48:57 -04:00
Description
StarlingX OIDC Authentication App
1.9 MiB
Languages
Python 51.7%
Go 27.8%
Makefile 17%
Smarty 2.2%
Dockerfile 0.7%
Other 0.6%