From f5d499dd4a4017c3d8d4acf710675ce9a4eb8fe4 Mon Sep 17 00:00:00 2001 From: Mika Rinne Date: Fri, 7 Mar 2025 10:23:14 +0200 Subject: [PATCH 1/2] readme fix --- .../README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md b/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md index 8807f6c66..66c113996 100644 --- a/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md +++ b/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md @@ -118,7 +118,6 @@ docker build -t fra.ocir.io/<YOUR OCI TENANCY NAMESPACE>/helloworld-java:1 In the docker build command above replace the region if necessary and the <YOUR OCI TENANCY NAMESPACE> with yours. -

After building let's do docker login and docker push to push the container to the OCIR repo: @@ -130,6 +129,16 @@ docker login ams.ocir.io -u '<YOUR OCI TENANCY NAMESPACE>/oracleidentitycl docker push fra.ocir.io/<YOUR OCI TENANCY NAMESPACE>/helloworld-java:1 +

+The same as above but using OCI cli to get the <YOUR OCI TENANCY NAMESPACE> which is especially handy in scripting: + + +export namespace=$(oci os ns get | jq .data | tr -d '"') +docker build -t fra.ocir.io/$namespace/helloworld-java:1 . +docker push fra.ocir.io/$namespace/helloworld-java:1 + + +

The last step is to create the Function Application and the function deployment for it. This can be easily done using the Cloud UI.

From e441af8c4f8b33d72aba8ae0d50d731eb8ee85f6 Mon Sep 17 00:00:00 2001 From: Mika Rinne Date: Fri, 7 Mar 2025 10:24:27 +0200 Subject: [PATCH 2/2] readme fix --- .../README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md b/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md index 66c113996..591cd23e4 100644 --- a/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md +++ b/app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md @@ -132,11 +132,11 @@ docker push fra.ocir.io/<YOUR OCI TENANCY NAMESPACE>/helloworld-java:1

The same as above but using OCI cli to get the <YOUR OCI TENANCY NAMESPACE> which is especially handy in scripting: - +

 export namespace=$(oci os ns get | jq .data | tr -d '"')
 docker build -t fra.ocir.io/$namespace/helloworld-java:1 .
 docker push fra.ocir.io/$namespace/helloworld-java:1
-
+

The last step is to create the Function Application and the function deployment for it. This can be easily done using the Cloud UI.