Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker: allow buildtests inside Docker, refactor environment handling. #2923

Merged
merged 2 commits into from
May 8, 2015

Conversation

jnohlgard
Copy link
Member

This PR improves the environment handling for Docker builds to remove the need for passing __RIOTBUILD_FLAG to the Docker environment by only passing variables which have been set outside of the Makefiles (environment, command line).

The second commit adds buildtest as a supported target for building inside a Docker container.

Joakim Gebart added 2 commits May 6, 2015 14:03
 - Better support for passing environment variables to the Docker container.
 - Move Docker-related definitions into Makefile.docker.
 - Only environment variables that originates from the command line or
   the environment will be passed to the Docker container.
@jnohlgard jnohlgard added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Area: build system Area: Build system labels May 6, 2015
@jnohlgard
Copy link
Member Author

kicked Travis

@phiros
Copy link
Member

phiros commented May 8, 2015

looks good to me.
-> ACK

@jnohlgard
Copy link
Member Author

& go!

jnohlgard pushed a commit that referenced this pull request May 8, 2015
Docker: allow buildtests inside Docker, refactor environment handling.
@jnohlgard jnohlgard merged commit 2682c38 into RIOT-OS:master May 8, 2015
@jnohlgard jnohlgard deleted the pr/docker-buildtests branch May 10, 2015 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants