Skip to content

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikarinneoracle committed Mar 7, 2025
1 parent 894e3ac commit f5d499d
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ docker build -t fra.ocir.io/<YOUR OCI TENANCY NAMESPACE>/helloworld-java:1
</pre>

In the docker build command above replace the <code>region</code> if necessary and the <code>&lt;YOUR OCI TENANCY NAMESPACE&gt;</code> with yours.

<p>

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

<p>
The same as above but using OCI cli to get the &lt;YOUR OCI TENANCY NAMESPACE&gt; which is especially handy in scripting:

<code>
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
</code>

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

<p>
Expand Down

0 comments on commit f5d499d

Please sign in to comment.