Comments (4)
@ad-si I agree. That function was not very well thought out when originally created. Your second hack is the cleanest one with now. I'll change that up too along with the changes for copy
from language-docker.
Well, entrypoint "[\"yarn\", \"start\", \"--\"]"
seems to work. But it's awful
from language-docker.
entrypoint $ show ["yarn", "start", "--"]
works too, but it's an awful hack
from language-docker.
For future reference: With language extensions it must be used like this:
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE OverloadedLists #-}
entrypoint $ show (["yarn", "start", "--"] :: [String])
from language-docker.
Related Issues (20)
- Cannot parse image name with "registry:port" HOT 3
- 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
- Support for heredocs HOT 6
- Wrong escaping of `\` when parsing ENV instructions HOT 1
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.