Skip to content

Docker Build Scripts not working OOB #3

Closed

Description

@remingtonc

Supplied build instructions/script via Docker do not work out of the box on Ubuntu 16.04.

remcampb@drew-dev1:~/openr$ ls -al
total 44
drwxrwxr-x  6 remcampb remcampb 4096 Nov 16 14:24 .
drwxr-xr-x 17 remcampb remcampb 4096 Nov 16 14:29 ..
drwxrwxr-x  4 remcampb remcampb 4096 Nov 16 14:06 build
-rw-rw-r--  1 remcampb remcampb 1662 Nov 16 14:06 CONTRIBUTING.md
drwxrwxr-x  2 remcampb remcampb 4096 Nov 16 14:06 examples
drwxrwxr-x  8 remcampb remcampb 4096 Nov 16 14:17 .git
-rw-rw-r--  1 remcampb remcampb 1080 Nov 16 14:06 LICENSE
-rw-rw-r--  1 remcampb remcampb  650 Nov 16 14:06 LICENSE-examples
drwxrwxr-x 19 remcampb remcampb 4096 Nov 16 14:06 openr
-rw-rw-r--  1 remcampb remcampb 3836 Nov 16 14:06 README.md
-rw-rw-r--  1 remcampb remcampb  695 Nov 16 14:06 .travis.yml
remcampb@drew-dev1:~/openr$ ./build/fbcode_builder/travis_docker_build.sh
./build/fbcode_builder/travis_docker_build.sh: line 5: os_image: Must be set by Travis
remcampb@drew-dev1:~/openr$ travis show
no build yet for facebook/openr
remcampb@drew-dev1:~/openr$

Initially Travis was not installed, installed the Travis gem thinking it might be the issue - but did not remedy the problem. As someone without much Travis experience, some build clarification would be incredibly helpful.
Are there extra configuration steps required before script execution?

Build commands in the fbcode_builder do work, however.

Activity

  1. nxppru commented on Nov 21, 2017

    @nxppru

    Maybe it's the ubuntu16.04 version of GCC......too high

  2. jstrizich commented on Nov 22, 2017

    @jstrizich
    Contributor

    Hi @remingtonc: Apologies for the misinformation in the top level readme. For docker builds, it actually requires a bit more than just running that script. can you take a look at build/fbcode_builder/README.md. That script is meant only for building on aTravis CI host. If you're trying to build with docker locally you will need to generate the docker context locally and point the build script at it by setting the appropriate variables. There is still a minor error with that script that we should have a fix for soon.

    In the meantime, if you can, I would suggest just building in your standard environment. You can run build/build_openr.sh to build and install all dependencies plus openr on your machine. This works well on Ubuntu 16.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions