Coder Social home page Coder Social logo

Comments (7)

timfpark avatar timfpark commented on May 21, 2024

That's a great idea - that would make it even easier for folks to get started - I'd love a PR for that.

from bedrock.

timfpark avatar timfpark commented on May 21, 2024

Sketch for how this could be implemented in a Dockerfile:

  1. Start from base Alpine Linux image
  2. Install Linux versions of all required tooling
  3. Copy entire repo into Docker image as /bedrock.

User can then run image, cd to /bedrock, and use project immediately.

from bedrock.

utf18 avatar utf18 commented on May 21, 2024

hi @timfpark
i pushed this one.
https://github.com/ben-st/bedrock/blob/Dockerfile/Dockerfile

but before the PR, how should we present the README?
User runs the image with bash and then starts the scripts or do you have something else in mind?
docker run -it -e TF_VAR_grafana_admin_password="SECRETpass" microsoft/bedrock:latest /bin/bash

from bedrock.

timfpark avatar timfpark commented on May 21, 2024

That Dockerfile looks great.

Yes - for the README.md let's just go with something basic like that - I think for real deployments that they would actually want to start on this Dockerfile and derive a second one from it such that they could push a container with config like this (the grafana admin password) and probably their .kube/config to a private repo.

Any strong thoughts on what you think is the right answer here?

from bedrock.

utf18 avatar utf18 commented on May 21, 2024

Baking in, the config is an option for private registries and we don't prevent anybody from doing so with the current Dockerfile, so all good :)
I think i would mount the config files as i need them everytime i start the container.
What did you have in mind the first time you thought about it?

from bedrock.

utf18 avatar utf18 commented on May 21, 2024

PR is done ;)
i will update it with your improvements.
Thanks for the feedback

from bedrock.

timfpark avatar timfpark commented on May 21, 2024

Thanks again - merged!

from bedrock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.