Hi all.
I'm having a heck of a time trying to build a local docker image for Odoo 16 on an Oracle Ampere server, which is an ARM64 architecture and was wondering if anyone has had luck doing something similar. I'm using the Dockerfile at the end of this post from the Odoo repo but hitting some snags.
The first one is the npm command on line 56 is throwing a memory error below. I tried increasing the memory with "RUN node --max-old-space-size=4096 index.js", but received the same error.
STEP 7/23: RUN npm install -g rtlcss
+ npm install -g rtlcss
#
# Fatal process OOM in insufficient memory to create an Isolate
So, I commented that line out and I can create the image. However, when I start it I get the following error because it can't run entrypoint.sh. After changing permissions to allow execution on the file on the server and in the Dockerfile (RUN chmod +x /entrypoint.sh) I'm getting the same error.
runc: runc create failed: unable to start container process: exec: "/entrypoint.sh": permission denied: OCI permission denied
If anyone could lend me a hand either by sharing their Dockerfile or steering me the right way I'd really appreciate it.
Liu
Dockerfile: https://github.com/odoo/docker/blob/36d6e05b76d56ce637c2f39fd4745c6d2fa3809f/16.0/Dockerfile