Giter Club home page Giter Club logo

build-tools's People

Contributors

beeradb avatar nmccrory avatar rfay avatar tannerjfco avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

build-tools's Issues

Remove testing support for docker toolbox

What happened (or feature request):

Docker toolbox is no longer useful and is deprecated in ddev.
Remove testing here.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

Related source links or issues (like source JIRA issue):

Add branch to git-derived $(VERSION) if possible

What happened (or feature request):

Feature request: Currently $(VERSION) uses just the git committish (based on tag) for its name. @beeradb points out that it might be nice to have the branch name in there as the former 'canary' target did. Might be nice to have username as well? Tag could get unwieldy, but it might be worth it.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

Related source links or issues (like source JIRA issue):

Deprecate FROM special handling for dockerfiles

What happened (or feature request):

Our preprocessing approach to providing the upstream docker build is no longer necessary, as Docker provides replaceable FROM now. See moby/moby#31352 and https://www.jeffgeerling.com/blog/2017/use-arg-dockerfile-dynamic-image-specification

We should probably deprecate that approach and move handling into the Dockerfile (or Dockerfile.in). A fair bit of effort went into the Dockerfile processing for this exact feature, so it's slightly painful to work our way back out of it. But I really don't like having the FROM in the Makefile anyway, so maybe we can battle out, especially in the docker.nginx-php-fpm family of containers.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

Related source links or issues (like source JIRA issue):

"make clean" for containers should remove existing containers

What happened (or feature request):

I note that "make clean" in the container build is not fully reliable because although it removes other artifacts, it does not remove docker images that might be related to the build. make clean should remove all docker images for the current $VERSION.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

Related source links or issues (like source JIRA issue):

Allow build-tools to work with minikube docker

What happened (or feature request):

build-tools currently fail all builds if you use the minikube docker environment. Moving forward, it's pretty important we be able to build our binaries/containers using the minikube instance of docker, to prevent having to continually push images for a dev workflow.

To reproduce:

Assuming you have a minikube instance running, on any project using build tools and building a golang binary run the following:

eval $(minikube docker-env)
make darwin

You'll receive the following error:

drud/site-manager ‹minikube› git:(master) » make linux
building linux from ./cmd/...
go install runtime/internal/sys: mkdir /usr/local/go/pkg/linux_amd64_static/runtime: permission denied
make: *** [linux] Error 1

Improve gitignore.example to be less ambiguous

What happened (or feature request):

Over in https://github.com/drud/docker.nginx-php-fpm/pull/39#pullrequestreview-33582227 it was noted that the suggested bin/ rule in gitignore.example has unintended effects. It should probably be improved to not do that.

All of the other unrooted examples (.go, etc) could have the same problem.

What you expected to happen:

gitignore should not have unanticipated results.

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

Related source links or issues (like source JIRA issue):

Remove preprocessing of Dockerfile (.dockerfile)

What happened (or feature request):

The preprocessing of the Dockerfile into .dockerfile is long-since obsolete and unused. Remove it. This has been obsoleted by Docker's ability to do multi-stage builds.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

Related source links or issues (like source JIRA issue):

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.