Comments (4)
I would like to second this. Running into an issue where I would like to provide runtime environment BUILD_ARGS. Dates and dynamic versioning type metadata that seems to be difficult to implement with the current API.
from cli.
+1 on this. My use-case is around network isolation. Due to network settings I need to use host network and not default container network while building. Requires --network=host
to be supplied for build argument to reach out to internet.
from cli.
Any update on this?
from cli.
Adding my +1. I'm building a bunch of centrally managed devcontainers for my team and would like to dynamically create containers for different runtime versions that are passed to something similar to Docker build args.
In an ideal world the devcontainer args could be used in any field so that I could, for example specify a different base image or base image tag based on incoming args. Not the end of the world if it's just a pass through to docker though since you could get the same effect by creating a Dockerfile and passing the args through.
currently I have a single base image with my build args set, then I have to create a separate devcontainer.json for each runtime version that I want to support.
from cli.
Related Issues (20)
- `containerEnv` input validation HOT 1
- Docker-in-Docker fails to install HOT 4
- Home Directory appears after "Clone Repository in Container Volume..." HOT 3
- `docker-compose up` isn't being called when starting a devcontainer HOT 5
- docker compose version doesn't have an option "--short" HOT 2
- A command to rebuild the environment HOT 2
- Container name doesn't take into account the id-label HOT 1
- Print build logs even if the feature build is successful HOT 1
- Podman error: could not find a working conmon binary
- devcontainer exec attempts confuses args depending on order HOT 2
- Suggestion about findComposeContainer HOT 2
- X HOT 1
- Question - Publishing OCI Artifacts - Should the layer be compressed? HOT 1
- Usage of --id-label yields hanging process HOT 2
- workspaceMount support --volumes-from HOT 8
- Sessions with progress bars cause "RangeError: Invalid string length" HOT 1
- How to customize the name of the container? HOT 2
- Docker compose profile specification HOT 2
- Dev container based on compose file does not start up from WSL. HOT 3
- Reproducible builds HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.