Giter Club home page Giter Club logo

Comments (9)

jaredkipe avatar jaredkipe commented on May 18, 2024

Did you checkout/clone the repository? entrypoint.sh is clearly in the repo in the dame file as the Dockerfile.

from docker.

sle-odoo avatar sle-odoo commented on May 18, 2024

Closing as @jaredkipe said the file is there and the builds are successful.

from docker.

jordi-starlab avatar jordi-starlab commented on May 18, 2024

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.

thomas15v avatar thomas15v commented on May 18, 2024

@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.

jordi-starlab avatar jordi-starlab commented on May 18, 2024

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.

thomas15v avatar thomas15v commented on May 18, 2024

This works fine for me tho:
image

from docker.

jordi-starlab avatar jordi-starlab commented on May 18, 2024

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.

jordi-starlab avatar jordi-starlab commented on May 18, 2024

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.

thomas15v avatar thomas15v commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.