Comments (4)
The Dockerfile variant in the examples is, IMNSHO, something which can be improved upon. Immensely.
from fdk-java.
Agreed - it's based on what we use/generate for maven.
FWIW - for the language builds in the CLI we're not trying to solve all problems/build conventions here but just trying to get a working convention that is suitable for new and casual users.
For Builds I think power uses are much more likely to tread their own path (e.g. your CI builds the docker image however you want, Fn cli /SDK just publishes the function.
(fn is not supposed to be an all-singing, all-dancing build system, but has a simple build system built in which is suitable for many use cases, and the option to extend by either bringing your own Dockerfile (fn runs docker build for you) or letting you do the docker builds externally (fn just consumes the docker image coordinates) )
from fdk-java.
If you have something specific you would like to add/change please contribute! (thanks)
from fdk-java.
FWIW we chose maven as the initial build tool as we think it's what about 60-70% of users use in server-side java - but totally recognise that supporting gradle will help a large fraction of the rest of users, it's just a time/priority thing.
from fdk-java.
Related Issues (20)
- JUnit5 option for FDK users. HOT 3
- Make fdk-java runtime modular HOT 2
- Add support for Java SE 11 HOT 4
- JSON Enabled function returns Error when Empty value is passed HOT 3
- override exit codes HOT 1
- FDK build image does not use pre-cached maven deps due to version mismatches
- [cross-fdk] formalize context contract
- RFE: improve logs readability HOT 1
- Support http-stream protocol in substrate/native java functions HOT 5
- JVM in FDK is not running in headless mode
- Maven error during image build HOT 1
- Fn: name must be a valid string
- Update Javadoc for functionId
- Readme.md uses "fn run" and "fn call" HOT 1
- Set stable automatic module names
- Remove any Java examples/docs files that have been moved to Docs Repo HOT 1
- [Feature Request] Cookies HOT 3
- FnTesting: module java.xml does not export jdk.xml.internal to unnamed module
- How should I test my external dependencies?
- Merci
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 fdk-java.