Code Review
/
nonrtric
/
plt
/
sme.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC-946:Remove hard-coded kong domain
[nonrtric/plt/sme.git]
/
capifcore
/
Dockerfile
diff --git
a/capifcore/Dockerfile
b/capifcore/Dockerfile
index
ed97579
..
f564d3f
100644
(file)
--- a/
capifcore/Dockerfile
+++ b/
capifcore/Dockerfile
@@
-30,9
+30,16
@@
RUN go build -o /capifcore
##
## Deploy
##
##
## Deploy
##
-FROM
gcr.io/distroless/base-debian11
+FROM
ubuntu
WORKDIR /
## Copy from "build" stage
COPY --from=build /capifcore .
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"]
ENTRYPOINT ["/capifcore"]