Issue-ID: NONRTRIC-833
Signed-off-by: ychacon <yennifer.chacon@est.tech>
Change-Id: I83011e20c0d49850af4f6358c24df2bef0609c10
##
## Deploy
##
-FROM gcr.io/distroless/base-debian11
+FROM ubuntu
WORKDIR /
## Copy from "build" stage
COPY --from=build /capifcore .
-USER nonroot:nonroot
+
+RUN mkdir /configs
+RUN mkdir /certs
+
+COPY configs/keycloak.yaml /configs/keycloak.yaml
+COPY certs/cert.pem /certs/cert.pem
+COPY certs/key.pem /certs/key.pem
+
ENTRYPOINT ["/capifcore"]
# Keycloak configurations
authorizationServer:
- host: "localhost"
+ host: "keycloak"
port: "8080"
admin:
user: "admin"
if response, respErr := client.Do(req); respErr == nil {
if isResponseSuccess(response.StatusCode) {
- fmt.Printf("HTTP client:: response statuscode:: %v body:: %v\n", response.StatusCode, response.Body)
defer response.Body.Close()
// Read the response body