File tree Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Expand file tree Collapse file tree 2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -39,26 +39,28 @@ setup-info:
3939
4040Or for the latest one based on `  ghc-8.0.1` (with more features): 
4141` ` ` yaml
42- resolver: lts-7.8  
43- compiler: ghcjs-0.2.1.9007008_ghc -8.0.1 
42+ resolver: lts-7.14  
43+ compiler: ghcjs-0.2.1.9007014_ghc -8.0.1 
4444compiler-check: match-exact 
4545
4646setup-info: 
4747  ghcjs: 
4848    source: 
49-       ghcjs-0.2.1.9007008_ghc -8.0.1: 
50-           url: http://ghcjs.tolysz.org/ghc-8.0-2016-11-07 -lts-7.8-9007008 .tar.gz 
51-           sha1: 190300a3725cde44b2a08be9ef829f2077bf8825  
49+       ghcjs-0.2.1.9007014_ghc -8.0.1: 
50+             url: http://ghcjs.tolysz.org/ghc-8.0-2016-12-25 -lts-7.14-9007014 .tar.gz 
51+             sha1: 0d2ebe0931b29adca7cb9d9b9f77d60095bfb864  
5252` ` ` 
5353The later can be generated via : https://github.com/tolysz/prepare-ghcjs 
54- the fromer is a bit more manual. Those bundles are only tested against the latest `node-6.9 .1`. 
54+ the fromer is a bit more manual. Those bundles are only tested against the latest `node-7.2 .1`. 
5555
5656In order to corrrectly boot and use ghcjs, one might need to install `alex` `happy` `hscolour` `hsc2hs` with the normal ghc. 
5757
5858Older resolvers :
5959
6060|resolver|url|sha1| 
6161|---|---|---| 
62+ | lts-7.13 | http://ghcjs.tolysz.org/ghc-8.0-2016-12-18-lts-7.13-9007013.tar.gz | 530c4ee5e19e2874e128431c7ad421e336df0303 | 
63+ | lts-7.8 | http://ghcjs.tolysz.org/ghc-8.0-2016-11-07-lts-7.8-9007008.tar.gz | 190300a3725cde44b2a08be9ef829f2077bf8825 | 
6264| lts-7.7 | http://ghcjs.tolysz.org/ghc-8.0-2016-11-03-lts-7.7-9007007.tar.gz | ce169f85f1c49ad613ae77fc494d5565452ff59a | 
6365| lts-7.5 | http://ghcjs.tolysz.org/ghc-8.0-2016-10-24-lts-7.5-9007005.tar.gz | 450e81028d7f1eb82a16bc4b0809f30730c3e173 | 
6466| lts-7.4 | http://ghcjs.tolysz.org/ghc-8.0-2016-10-22-lts-7.4-9007004.tar.gz | ed77b3c15fedbadad5ab0e0afe1bd42c0a8695b4 | 
Original file line number Diff line number Diff line change @@ -224,6 +224,29 @@ You can also specify `entrypoints`. By default all your executables are placed
224224in `/usr/local/bin`, but you can specify a list using `executables` to only add 
225225some. 
226226
227+ When you specify `entrypoints`, multiple containers will be built :  a project 
228+ container, and one container for each entrypoint. 
229+ 
230+ For example the following configuration :
231+ 
232+ ` ` ` yaml
233+ image: 
234+   containers: 
235+   - name: myproject 
236+     base: fpco/stack-run 
237+     add: 
238+       production/app-backend/conf/: /etc/app-backend 
239+     entrypoints: 
240+     - app-backend 
241+ ` ` ` 
242+ 
243+ will build one container tagged `myproject:latest` which contains the project  
244+ including the `/etc/app-backend` configuration data. 
245+ 
246+ Another container tagged `myproject-app-backend:latest` based on the `myproject:latest` 
247+ will additionally contain the logic for starting the `app-backend` entrypoint. 
248+ 
249+ 
227250# ## user-message
228251
229252A user-message is inserted by `stack init` when it omits packages or adds 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments