- 👋 Hi, I’m @lwiedenhoeft
- 👀 I’m interested in ...
- 🌱 I’m currently learning ...
- 💞️ I’m looking to collaborate on ...
- 📫 How to reach me ...
-
Siemens
- Erlangen
- larstogo.dev
Pinned Loading
-
Manipulate FROM statement inside the...
Manipulate FROM statement inside the Dockerfile during docker build 1# https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#pipe-dockerfile-through-stdin
2# Since we can't use the build args to manipulate the FROM statement, we need to use the following trick.
3# First, we print the Dockerfile through stdin, then we replace a string via the sed cmd and in the end we run the build.
45# Assuming . is your build-context and the Dockerfile looks like this ->
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.