Comments (3)
@estahn That's interesting - the result of the build that I make for Linux is 13.5MBs (https://github.com/hairyhenderson/gomplate/releases/download/v1.9.1/gomplate_linux-amd64). I'll have a closer look at the build for Alpine (https://github.com/alpinelinux/aports/blob/master/community/gomplate/APKBUILD)
One thing to note - I produce a smaller "slim" build for some platforms. The Linux/amd64 binary is 3.7MBs. I use UPX to produce the slim ones, and unfortunately UPX isn't available in the Alpine repos yet, so it won't be able to be used during the Alpine build.
I'll try to see if I can get the build closer to the 13MB mark, but beyond that for now we're out of luck. The main reason it's so big is the aws-sdk-go
package. I logged #47 a while back to track the possibility of making that smaller...
from gomplate.
@hairyhenderson Actually, I'm using the slim
version now in my alpine image.
curl -SsL -o /usr/local/bin/gomplate https://github.com/hairyhenderson/gomplate/releases/download/v1.9.1/gomplate_linux-amd64-slim
Works fine.
It might be an idea to provide a version without aws-sdk-go
, e.g. we're not using this feature atm. Anyways, the slim version works for me.
from gomplate.
It might be an idea to provide a version without
aws-sdk-go
Yep - that crossed my mind, though it's easier said than done
from gomplate.
Related Issues (20)
- etcd support as datasource HOT 2
- PPC64 build missing from the latest release HOT 4
- Validation of the generated template
- The function `coll.Index` can not be evaluated HOT 2
- allow templating in `.gomplateignore`, so folder can be dynamically excluded by configs HOT 9
- output-map not working with external template HOT 3
- net.ParsePrefix error HOT 1
- doc site should show docs from latest major release rather than main HOT 2
- Function to generate MAC addresses HOT 7
- Feature request: straightforward way to include templates HOT 3
- Feature request: add crypto.MD5 HOT 6
- Feature request: function to embed the output of shell commands/scripts HOT 5
- Documentation: header and delimiter in data.CSVBy* functions HOT 3
- Request for new release 13.11.x? HOT 2
- Consider making slim-sprig functions first-class HOT 5
- docs: Listing the `crypto.SHA*` functions together makes the ToC hide the docs HOT 1
- update usage docs to explain "multiple outputs from one template" HOT 6
- access runtime configs from within templates HOT 2
- Unable to pass a Slice of string keys to coll.Pick() HOT 1
- Question: How can I do a different action if it is the last iteration of a loop
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 gomplate.