fpco / docker-static-haskell Goto Github PK
View Code? Open in Web Editor NEWDocker images based on Alpine for compiling static Haskell executables
License: MIT License
Docker images based on Alpine for compiling static Haskell executables
License: MIT License
Would it be possible to push an 8.0.2 update? It seems that the alpine-ghc
upstream has already been updated to it: mitchty/alpine-ghc@ac49249
Opening this issue as an alert to anyone on github that appears to be using my ghc port.
Ghc and cabal are now upstreamed for x86_64 on alpine linux edge. Ghc requires alpine linux 3.5 or higher to run. But otherwise the upstreamed package is the same as my old port. With a caveat that the profiled ghc libraries are now in a sub package named ghc-dev.
Either add the edge testing repository to /etc/apk/repositories, or alternatively you may install ghc/cabal via:
# apk --no-cache add --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing ghc ghc-dev cabal
For an up to date list of what is ported and where reference this search:
https://pkgs.alpinelinux.org/packages?name=&branch=&repo=&arch=&maintainer=Mitch+Tishmack
As a side note for stack specifically, I added a flag to the stack cabal file that makes it easy to build stack statically.
commercialhaskell/stack@cda4c09
The way stack is being built statically here is unnecessary, and the c runtime changes are also unnecessary and will only produce a larger static binary. Recommend you change to using the existing flag instead of the glibc gcc runtime hacks in use here.
Also note, I also ported upx to alpine edge, so you can also add upx from the edge testing repo if you want to test and validate that as well. Note however, upx does NOT compress dynamic musl binaries however, this is a upx limitation not the ports.
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.