Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4308 Vistas

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

Avatar
Descartar
Autor Mejor respuesta

I was able to build the image by breaking it up into smaller images then joining them.  If anyone needs help or would find it useful to see what I did, let me know and I'll expand on it.


Avatar
Descartar
Autor

Odoo now has arm64 docker containers available, so this is no longer necessary. Thanks to the odoo team for doing this!

Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 21
3297
2
sept 23
7058
1
sept 22
2607
0
feb 22
3207
1
jun 25
10664