Code Monkey home page Code Monkey logo

Comments (6)

lorenzo avatar lorenzo commented on May 24, 2024

We already support heredocs, you can check the tests https://github.com/hadolint/language-docker/blob/master/test/Language/Docker/ParseRunSpec.hs#L452

from language-docker.

potiuk avatar potiuk commented on May 24, 2024

Ah cool. I guess release with that is coming :)? If so - it can be closed then (Just to make sure I am using COPY << heredocs - I have not seen an explicit test for that but I saw some example down the file, so I guess it is also supported).

BTW. I am also happy to help with building and releasing the multiplatform image (if we can use the experiment I saw @lorenzo) - even if they are not tested in CI yet, I can test it for Aiflow (and we have hell-of-two-dockerfiles-that-use-nearly-all-possible-dockerfile-features) so that at least the hadoling released image can be multiplatform.

from language-docker.

lorenzo avatar lorenzo commented on May 24, 2024

I think HEREDOCS were only added to RUN

If you can provide somehow the infrastructure to build the images, I would be very happy!

from language-docker.

potiuk avatar potiuk commented on May 24, 2024

I think HEREDOCS were only added to RUN

If you can provide somehow the infrastructure to build the images, I would be very happy!

They are also added to COPY - see my new beautiful image here: ->

Now you will probably understand why we need hadolint to work. Badly need :))

This is from this PR: apache/airflow#22492

Re: Image. I cannot provide the CI infra, unfortunately (this is something we only can use in Airflow). But certainly I am happy to test and prepare scripts to build & push hadolint manually, so that when you release it you will be able to manually push a muti-platform image (this is what we actually do in Airflow when we release, we manually "push" the images from "release manager" machine, because we shoudl do it on "machine in control of release manager" according to Apache Software Foundation rules.

from language-docker.

lorenzo avatar lorenzo commented on May 24, 2024

@potiuk I managed to produce an arm binary in Github actions. I will need a bit more time to re-do the release workflow and cut a new release with the new binaries

from language-docker.

potiuk avatar potiuk commented on May 24, 2024

Woooho!

from language-docker.

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.