Comments (9)
Did you checkout/clone the repository? entrypoint.sh is clearly in the repo in the dame file as the Dockerfile.
from docker.
Closing as @jaredkipe said the file is there and the builds are successful.
from docker.
Registered just to say this ain't working.
Docker for Odoo v8 (which I really need) doesn't work, gives this error message; tried it on a clean linux and a clean-ish Windows 10.
from docker.
@jordi-starlab Can't you just inherit the image like this?:
FROM odoo:8
USER root
# modify stuff
RUN apt update && apt install awesomeness
USER odoo
from docker.
Tried it.
Wrote "USER root" on line 25 and then "USER odoo" on 40 (before the chown).
Line 38 still fails with the "entrypoint.sh: no such file or directory"
I'm doing some investigating (running -i and --rm to start the instance and try to find what it does) because I need this to work in the next 48h so any piece of advice or crazy idea is welcomed :)
from docker.
from docker.
I could install (and have running) a postgresql docker, but I'm new at this and maybe I'm not getting the steps right.
You download the dockerfile (Odoo 8.0 Dockerfile), put it onto a new folder (just for the sake of it, really) and then do:
sudo docker build -t eg_odoo .
Which will inevitably finish with:
---> 112d65a65b1e
Step 7/16 : COPY ./entrypoint.sh /
COPY failed: stat /var/lib/docker/tmp/docker-builder720677126/entrypoint.sh: no such file or directory
I've done it on three different machines already.
More info, since the image is called 112d65a65b1e then I do this "docker run --rm -it 112d65a65b1e sh" to connect to it; if I do a "find / -name 'entrypoint.sh' " nothing comes out.
I'm currently following a clean odoo installation so I can find this entrypoint and fix it (I really need it on a Docker for testing)
from docker.
Quick note, it appears that the openerp-server.conf was somehow already on /etc/odoo/ (maybe it did copied it on a previous attempt?) and commenting lines 38,39 and 40 lets you finish the build.
I'll check if it works and update accordingly ^_^
from docker.
You download the dockerfile (Odoo 8.0 Dockerfile)
Not at all the odoo 8 image is stored on the docker hub repository. Docker will download that by itself.
Also I highly advice you use something like docker-compose to manage your images/containers.
If you're still into building odoo yourself (what I do not advice, unless you have a specific reason to do so). Your missing entrypoint.sh next to your Dockerfile. You need to have the following files before building:
- Dockerfile
- openerp-server.conf
- entrypoint.sh (do chmod +x on this file)
from docker.
Related Issues (20)
- Readme: obsolete docker flag (--link) HOT 5
- [QUESTION]: Odoo V16 - wkhtmltopdf version
- Odoo 17 image? HOT 19
- How install the requirements for odoo 17 in offical Docker HOT 1
- I had a permission problem when I mounted the data volume. Trying to specify a user also didn't work. HOT 4
- docker map directory permission error HOT 2
- RuntimeError: can't start new thread HOT 4
- getting error 99 Cannot assign requested address in outgoing email server - Odoo 17.0 Community Edition HOT 2
- Database name configuration HOT 4
- Unable to obtain the real address of the external client HOT 2
- Oddo don't work on Unraid HOT 8
- recent docker pull from odoo:16 cause AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' HOT 2
- Odoo 15 Unraid update never worked HOT 2
- Apply docker compose HOT 4
- Update the release version of Odoo 17. HOT 2
- odoo:15,how to upgrade to new version HOT 4
- [17.0] lxml.html.clean module is now a separate project lxml_html_clean HOT 2
- Update Odoo release in the dockerfile to include commit 7e9a873 HOT 4
- Location of HOT 2
- Need link to docs, or info for docker image & SSL HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.