openshift-s2i / s2i-phoenix Goto Github PK
View Code? Open in Web Editor NEWSource-to-Image template for Phoenix Framework applications
Home Page: http://www.phoenixframework.org/
License: The Unlicense
Source-to-Image template for Phoenix Framework applications
Home Page: http://www.phoenixframework.org/
License: The Unlicense
Currently, Phoenix needs Elixir 1.3.4, but the image provider elixir 1.3.1. The dependency postgresx will not compile because of this.
Creating a new applicaiton in openshift online fails after build:
Status: Failed Log from Mar 10, 2018 8:41:28 AM to Mar 10, 2018 8:43:27 AM
Cloning "http://github.com/jtslear/phoenix-example.git " ...
Commit: d937c61d37068b6038eae5cc7e5ec6a60046fae8 (Merge pull request #1 from luciddreamz/master)
Author: John T Skarbek <[email protected]>
Date: Fri Sep 16 12:47:30 2016 -0400
Pulling image "jtslear/phoenix-builder@sha256:a283acd2f93b406ab35df2466dd293dda61b614f584eea01089ad0fbc1058c7b" ...
---> Installing application source...
---> Building application from source...
* creating .mix/archives/hex-0.17.3
* creating .mix/rebar
* creating .mix/rebar3
Resolving Hex dependencies...
Dependency resolution completed:
cowboy 1.0.4
cowlib 1.0.2
fs 0.9.2
gettext 0.11.0
phoenix 1.1.6
phoenix_html 2.6.2
phoenix_live_reload 1.0.5
plug 1.1.6
poison 2.2.0
ranch 1.2.1
* Getting phoenix (Hex package)
* Getting phoenix_html (Hex package)
* Getting phoenix_live_reload (Hex package)
* Getting gettext (Hex package)
* Getting cowboy (Hex package)
* Getting cowlib (Hex package)
* Getting ranch (Hex package)
* Getting fs (Hex package)
* Getting plug (Hex package)
* Getting poison (Hex package)
==> fs (compile)
Compiled src/sys/fsevents.erl
Compiled src/sys/inotifywait_win32.erl
Compiled src/sys/inotifywait.erl
Compiled src/fs_sup.erl
Compiled src/fs_event_bridge.erl
Compiled src/fs_server.erl
Compiled src/fs_app.erl
Compiled src/fs.erl
==> gettext
Compiling 1 file (.yrl)
Compiling 1 file (.erl)
Compiling 19 files (.ex)
Generated gettext app
==> ranch (compile)
Compiled src/ranch_transport.erl
Compiled src/ranch_sup.erl
Compiled src/ranch_server.erl
Compiled src/ranch_protocol.erl
Compiled src/ranch_listener_sup.erl
Compiled src/ranch_conns_sup.erl
Compiled src/ranch_app.erl
Compiled src/ranch_acceptors_sup.erl
Compiled src/ranch_acceptor.erl
Compiled src/ranch.erl
Compiled src/ranch_ssl.erl
Compiled src/ranch_tcp.erl
==> poison
Compiling 4 files (.ex)
Generated poison app
==> cowlib (compile)
Compiled src/cow_qs.erl
Compiled src/cow_spdy.erl
Compiled src/cow_multipart.erl
Compiled src/cow_http_te.erl
Compiled src/cow_http_hd.erl
Compiled src/cow_date.erl
Compiled src/cow_cookie.erl
Compiled src/cow_http.erl
Compiled src/cow_mimetypes.erl
==> cowboy (compile)
Compiled src/cowboy_middleware.erl
Compiled src/cowboy_sub_protocol.erl
Compiled src/cowboy_sup.erl
Compiled src/cowboy_websocket_handler.erl
Compiled src/cowboy_static.erl
Compiled src/cowboy_router.erl
Compiled src/cowboy_spdy.erl
Compiled src/cowboy_websocket.erl
Compiled src/cowboy_rest.erl
Compiled src/cowboy_loop_handler.erl
Compiled src/cowboy_http_handler.erl
Compiled src/cowboy_protocol.erl
Compiled src/cowboy_handler.erl
Compiled src/cowboy_req.erl
Compiled src/cowboy_bstr.erl
Compiled src/cowboy_clock.erl
Compiled src/cowboy_app.erl
Compiled src/cowboy.erl
Compiled src/cowboy_http.erl
==> plug
Compiling 44 files (.ex)
Support Elixir 1.4.
Makes sense to build this on top of #4. I will make a contribution directly to that repository.
In my opinion it would make sense to build an elixir base S2I Image and add a phoenix one on top.
Would you welcome a contribution into this direction?
Please specify git clone as
git clone https://github.com:openshift-s2i/s2i-phoenix.git
And creation of a new image as:
oc new-app --image-stream=phoenix:1.3 --code http://github.com/jtslear/phoenix-example.git
The current documentation fails.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.