Comments (6)
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.
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.
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.
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: ->
- PROD: https://github.com/apache/airflow/blob/6821bf2074c03ab791dccfbcb899730761fc5e81/Dockerfile
- CI: https://github.com/apache/airflow/blob/6821bf2074c03ab791dccfbcb899730761fc5e81/Dockerfile.ci
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.
@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.
Woooho!
from language-docker.
Related Issues (20)
- Build failure with ghc 8.4 HOT 1
- src/Language/Docker/PrettyPrint.hs:91:25: error: Not in scope: 'fail' HOT 2
- [Feature Request] EXPOSE UDP port *range* HOT 4
- Parse RUN agruments do not respect control operators HOT 1
- Fail to compile language-docker-5.0.1 HOT 2
- Cannot parse if line ends with linebreak and space HOT 2
- Unexpected parser error in language-docker-6.0.1 HOT 5
- 'from "opensuse/tumbleweed"' gives unexpected result HOT 1
- 'label' has to quote arguments HOT 1
- Inaccurate version bounds HOT 2
- #escape=` is not supported HOT 1
- compilation with ghc 8.8.2 stack 15.1 HOT 4
- GHC 8.10.1 build issues
- Pretty printing of `RUN` in shell form replaces multiple spaces in quoted string HOT 1
- sdist doesn't include all necessary files for tests
- Test files missing from release tarball HOT 2
- Add --link flag to COPY/ADD instrructions HOT 1
- Wrong escaping of `\` when parsing ENV instructions HOT 1
- prettyPrint does not preseve the content of quoted string
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-docker.