Scuba is a tool I wrote which makes it easy to encapsulate build environments with Docker, and simplify the commands needed to e.g. make. Complex projects often need a specific set of compiler/linker tools, libraries, etc. and tools like GitLab CI recognize this, allowing you to specify your own Docker image in which a codebase should be built.
The problem is, using these same Docker containers in local command-line builds can be difficult. Scuba turns this:
$ docker run -it --rm -v $(pwd):/build:z -w /build -u $(id -u):$(id -g) gcc:5.1 make myprogram
into this:
$ scuba make
By including a simple .scuba.yml in your source code (under version control), you can concretely specify the build environment required for building the software.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/veggiemonk/awesome-docker/pull/506
**Author:** [@JonathonReinhart](https://github.com/JonathonReinhart)
**Created:** 12/8/2017
**Status:** ✅ Merged
**Merged:** 12/11/2017
**Merged by:** [@veggiemonk](https://github.com/veggiemonk)
**Base:** `master` ← **Head:** `patch-1`
---
### 📝 Commits (1)
- [`a3ec592`](https://github.com/veggiemonk/awesome-docker/commit/a3ec5927c85926d40db7a64d04ee6a78760d9f55) Add scuba to list of CLI tools
### 📊 Changes
**1 file changed** (+1 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `README.md` (+1 -0)
</details>
### 📄 Description
[Scuba](https://github.com/JonathonReinhart/scuba) is a tool I wrote which makes it easy to encapsulate build environments with Docker, and simplify the commands needed to e.g. `make`. Complex projects often need a specific set of compiler/linker tools, libraries, etc. and tools like [GitLab CI](https://about.gitlab.com/features/gitlab-ci-cd/) recognize this, allowing you to specify your own Docker image in which a codebase should be built.
The problem is, using these same Docker containers in local command-line builds can be difficult. Scuba turns this:
```
$ docker run -it --rm -v $(pwd):/build:z -w /build -u $(id -u):$(id -g) gcc:5.1 make myprogram
```
into this:
```
$ scuba make
```
By including a simple `.scuba.yml` in your source code (under version control), you can concretely specify the build environment required for building the software.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/veggiemonk/awesome-docker/pull/506
Author: @JonathonReinhart
Created: 12/8/2017
Status: ✅ Merged
Merged: 12/11/2017
Merged by: @veggiemonk
Base:
master← Head:patch-1📝 Commits (1)
a3ec592Add scuba to list of CLI tools📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📄 Description
Scuba is a tool I wrote which makes it easy to encapsulate build environments with Docker, and simplify the commands needed to e.g.
make. Complex projects often need a specific set of compiler/linker tools, libraries, etc. and tools like GitLab CI recognize this, allowing you to specify your own Docker image in which a codebase should be built.The problem is, using these same Docker containers in local command-line builds can be difficult. Scuba turns this:
into this:
By including a simple
.scuba.ymlin your source code (under version control), you can concretely specify the build environment required for building the software.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.