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

Add support of Building Tools in a Docker image #2

Merged
merged 1 commit into from
Sep 9, 2017
Merged

Conversation

oleg-nenashev
Copy link
Member

This pull request adds a Docker image, which can be used to quickly deploy tools to a Docker volume without deploying a local environment.

I used it to spin the Endian Swapper demo in #31

@@ -0,0 +1,12 @@
FROM librecores/librecores-ci
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be replaced by LCCI Tools Base later. Just wanted to have an image with ready python bits

# github-api-token: <TOKEN>
volumes:
#TODO: Make it confurable via API
tools: lcci-tools
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally I should add a parameter to the tool for that

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should also be an absolute path, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need. Such definition will create a new named docker volume or write to an existing one if it exists.

@oleg-nenashev
Copy link
Member Author

I used it to spin the demo in librecores/librecores-ci-jenkins-server#31
It takes eons to build the required tools, so maybe we should start shipping the volume as an image too

@wallento wallento merged commit 1139fb2 into master Sep 9, 2017
@wallento wallento deleted the dockerfile branch September 9, 2017 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants