Giter Club home page Giter Club logo

Comments (6)

dgonyeo avatar dgonyeo commented on May 19, 2024

While this is effectively inventing a DSL for acbuild, the rules by which it is executed should be rather non-magical, since it's a shorthand for a bash script.

from build.

jonboulle avatar jonboulle commented on May 19, 2024

As discussed OOB, we decided this wouldn't add much value and might be confused with Dockerfiles, so we're not going to pursue this.

from build.

ranjib avatar ranjib commented on May 19, 2024

We can reuse the dockerfile dsl as well right ? That way we dont have to reinvent something thats already popular, as well as ease the porting process from docker to acbuild. It will be hard to port them as migrating to acbuild will require every adopter to understand how acbuild works.. and write acbuild specific features. On the other route, we can just swap docker build with acbuild and test it in our build farms.

from build.

dgonyeo avatar dgonyeo commented on May 19, 2024

I'd prefer to not imitate their language, as then we're very close to guaranteeing that rkt behaves the same as docker. I'd prefer to have the language be based off of the current CLI syntax for acbuild, so it's very easy to understand how things are analogous to the bash files.

Once that's working, perhaps an automated dockerfile -> acbuild tool could be built (and it would probably include a bunch of disclaimers with it). If it turns out that such a conversion process can be made to be very reliable (although I bet I'll find some edge cases with that), maybe then it can be directly incorporated into acbuild the way docker2aci is used by rkt.

I also fully intend to support using acbuild via the CLI (aka how it currently works), if a script mode ever gets made. Being able to tie in other arbitrary command line tools to your build scripts is incredibly useful. Parsing the syntax for the DSL could literally be "take the line, append acbuild to the front of it, and execute it", which would make the cost of maintaining both modes of operation much lower.

from build.

ranjib avatar ranjib commented on May 19, 2024

awesome. @dgonyeo will it be ok if I open a separate issue and start collecting feedback on what is acceptable from the current dockerfile DSL and what is not, ( I can start implementing those), we can decideif its worth the effort afterwards ? Im doing something very similar for nut, but thats more for Dockerfile -> lxc.

from build.

dgonyeo avatar dgonyeo commented on May 19, 2024

I think I'd like to add the acbuild script mode before working on a dockerfile -> acbuild transpiler. I wasn't planning on focusing on this for a while, but if you're interested in seeing it move along faster I can spare some cycles once https://github.com/appc/acbuild/milestones/v0.3.0 is done.

from build.

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.