question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is README in docker folder correct?

See original GitHub issue

Hi, I tried to build docker images. I read README in docker folder but build failed.

I found the way but it is a little different from README. my dev env : Ubuntu 18.04, docker 18.03.1-ce

# from conductor project home
$ docker build -t conductor:server -f docker/server/Dockerfile .
$ docker build -t conductor:ui -f docker/ui/Dockerfile .

as of docker-compose

$ cd docker
$ docker-compose build

Did others build docker similarly? How about edit README?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
julionccommented, Apr 11, 2019

The command ‘/bin/sh -c ./gradlew build -x test’ returned a non-zero code: 127

gradlew must be marked as executable. chmod +x gradlew.

I had this error on Windows 10 recently. GNU/Linux and Mac share permissions scheme but Windows needs to use a virtual FS so it copies files with default permissions.

In my case, this issue occurs due to the use of “core.autocrlf = true” from Git config. You are better off leaving core.autocrlf to false. (Or re-install Git and choose the "Checkout as-is, commit as-is" as a option).

1reaction
davidwaddencommented, Feb 17, 2019

@hados99 I recommend using docker-compose build from the docker/ folder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the recommended way of adding documentation to ...
You can add a readme.md in the root folder (where your docker file is located) and this is meant to be parsed by...
Read more >
Dockerfile reference - Docker Documentation
Dockerfile reference. Docker can build images automatically by reading the instructions from a Dockerfile . A Dockerfile is a text document that contains ......
Read more >
docker/README.md - Tyrex Public - GitLab Inria
This folder contains Docker recipes to: Build DistMuRA and run it in a local Spark ( distmura_spark.Dockerfile ); Run BigDatalog programs ...
Read more >
Do not ignore .dockerignore (it's expensive and potentially ...
dockerignore file is the tool, that can help you to define the Docker build context you really need. Using this file, you can...
Read more >
Docker - Snipe-IT Documentation
The ONLY docker image we support is snipe/snipe-it . If you grabbed a docker image from any other repo, you're kinda on your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found