Code Monkey home page Code Monkey logo

Comments (8)

dnephin avatar dnephin commented on May 23, 2024 1

I guess it would be nice to be fixed or for the dockerized makefile to be the default one.

This was discussed in #78 as well: #78 (comment)

I think we'll look at replacing docker.Makefile with a ./build.sh for now

from cli.

thaJeztah avatar thaJeztah commented on May 23, 2024

What exact command did you run? make binary or just make ?

from cli.

dave-tucker avatar dave-tucker commented on May 23, 2024

just make

from cli.

dnephin avatar dnephin commented on May 23, 2024

I believe I fixed this in #78 , are you on latest master?

Edit: actually I fixed it for alpine, but not for "host" development. I dont' think we can support developing on the host.

Make fails with the helpful error message of make: *** [binary] Error 1

This is unfortunate, but that's how bash decides to error out on undefined variables with set -u.

from cli.

dave-tucker avatar dave-tucker commented on May 23, 2024

Yes I'm on latest master. Both make and make binary insta-fail on OSX.

from cli.

thaJeztah avatar thaJeztah commented on May 23, 2024

Oh, 🤦 this is the docker/cli repo, ignore me

from cli.

dnephin avatar dnephin commented on May 23, 2024

We could also add a check to the Makefile that warns if it's not being run from an expected environment. Maybe docker.Makefile (and the future ./build.sh) could set DOCKER_CLI_THIS_IS_FINE=1. Anyone who has setup their host can export that as well to remove the warning.

Then in Makefile if the environment variable isn't set we can warn "you probably want ./build.sh"

from cli.

dnephin avatar dnephin commented on May 23, 2024

This has been partially fixed by removing the "develop on the host" instructions from the README. We also have #99 to track other related improvements. #107 introduces the script I suggested here.

Going to close this issue since we have another tracking issue.

from cli.

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.