TechNewsHeaven {{source.name}}




flexos-io/doc
2019-02-17T17:53:38.5144587Z - flexos-io / Hacker News
BUILD IMAGE cd ~ /deck # use the plan to build the image "deckbuild/helloworld:0.1.0" # deck-build.sh runs "docker build" # you can add any "docker build" argument after "--", e.g. run plan (shell script) RUN bash ${DECKBUILD_PLANT}/main.sh # # run the hello-world script created by plan CMD [ "bash" , "/root/helloworld.sh" ]Please note: For this example you need a working internet connection to access GitHub. run plan (shell script) RUN bash ${DECKBUILD_PLANT}/main.sh # # print informations about foo user and exit CMD [ "id" , "foo" ]Please note: For this example you need a working internet connection to access GitHub. While this plan + Dockerfile commands interaction might seem a bit cumbersome, it has one big advantage: No magic! However the production environment don't know the user foo , it needs the user bar instead.

Your favorite news


Popular news




Recommended news