Comments (8)
Thanks for the suggestion! Would you like to create a PR with your favorite and most convenient build tools for Elixir? I can make one, but it will probably be a very simple Hello world application compiled with the most basic command I can find in the Quickstart guide.
Please, use https://github.com/icfpcontest2020/dockerfiles/tree/master/dockerfiles/haskell as an example of file layout for base image and submission image.
from dockerfiles.
@piisalie, want to tackle this one?
from dockerfiles.
Sure @JEG2
@beevee can you unpack what Command line arguments will be provided to your program
means?
Do we have control over these command line arguments? Or are those to be determined in context of the contest?
from dockerfiles.
Ask because Elixir/Erlang's release process is kind of odd, so knowing how exactly we expect the application to be started, and if we have control over the arguments passed at runtime would directly affect how I'd write an ideal Dockerfile.
from dockerfiles.
Considering all the other proposals for different platforms, I think you should do this:
-
Use C++ Dockerfile and starterkit-cpp as an example of build and run process. You will find
build
andrun
shell scripts that serve as extension points to pass any arguments you like during the build and run time. -
Include all the necessary libraries for HTTP interaction and show a simple example of said interaction along the lines of starterkit-csharp. This should answer your question on purpose of command line arguments :-) Basically fetch URL that is passed as a first argument with a query parameter that is passed as a second argument. Exit with non-zero code on any non-200 status code returned.
from dockerfiles.
I've created a starterkit repo for Elixir: https://github.com/icfpcontest2020/starterkit-elixir/
from dockerfiles.
Okay - thanks. I'll give it a shot.
from dockerfiles.
Well, it builds without errors. And when run it makes a HTTP request to the provided URL. I consider that a success. Thank you very much for the contribution!
from dockerfiles.
Related Issues (20)
- Add Scala HOT 4
- lost registration 8-) HOT 1
- Submissions page shows an HTTP 500 error HOT 4
- Add TypeScript HOT 2
- Add Racket HOT 5
- Cloning recursively with submodules HOT 2
- Python dependency management HOT 3
- Add Swift HOT 1
- No API Key HOT 2
- Submissions: HOT 5
- Submissions: empty test logs HOT 5
- Add fsharp HOT 2
- Add fsharp HOT 1
- Add Prolog HOT 2
- Submissions: HOT 4
- Scala submission failed with SIGILL HOT 5
- Submissions: HOT 1
- Submissions: pushes to "submissions/submission" branch trigger builds of "submission" branch HOT 1
- Submissions: Olympia #83d2fa HOT 1
- Submissions: python alien/send request fails 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 dockerfiles.