Skip to content

Commit c0fac41

Browse files
repo create
1 parent 489a22f commit c0fac41

File tree

1 file changed

+9
-0
lines changed
  • app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions

1 file changed

+9
-0
lines changed

app-dev/devops-and-containers/functions/java-helloworld-with-local-dev-and-oci-functions/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,14 @@ echo 'Mika' | fn invoke hellofunction hellofunc
9898
Hello, Mika!
9999
</pre>
100100

101+
<p>
102+
103+
Now that the function is properly working locally let's build and deploy it to OCI.
104+
105+
<p>
106+
107+
First create a OCIR repo for the container in your OCI tenancy <code>compartment</code> you want push the container into. Unless you do this first the container will be pushed to the <code>root</code> comaprtment that is not a good idea and will usually lead to 404 or 502 errors when the OCI Function pulling the container due to missing OCI policies. You can create the OCIR repo from the Cloud UI or using the <a href="https://docs.oracle.com/en-us/iaas/tools/oci-cli/3.41.0/oci_cli_docs/cmdref/artifacts/container/repository/create.html">oci cli</a>.
108+
109+
<p>
101110

102111

0 commit comments

Comments
 (0)