Comments (7)
(this probably also would be good for ldc, etc)
from docker-dmd.
Musl (the alternative glibc replaced used by Alpine) hasn't been supported by DRuntime.
However, recent work is closing this gap and compiling DRuntime with Musl will be possible soon (see dlang/druntime#2071).
from docker-dmd.
This may also be possible by using https://hub.docker.com/r/frolvlad/alpine-glibc/ or https://github.com/sgerrand/alpine-pkg-glibc
from docker-dmd.
- It doesn't work (at least when I tried it half a year ago)
- Using the bulky glibc kills the entire point of using alpine in the first place ;-)
from docker-dmd.
- Ah, that's a shame. There are hacky things in that image to make it work from what I remember.
- It doesn't really make a bulky image. It's 5MB instead of 43MB 😄 (for some reason I thought Ubuntu was in the 100s of MB though)
from docker-dmd.
This should be possible now, with the ldc 1.8 release. There's an Alpine/x64 build up there, and I've updated the changelog with exactly which Alpine packages I needed to use it. Post in the microservices thread in the General forum to publicize any images you make available.
from docker-dmd.
I built out an LDC on alpine using that build andrewbenton/alpine-ldc, but it still has the aforementioned issues with musl and druntime until that's patched up. An interesting approach that's worked tam4s/hello-vibe involves building a static binary with ubuntu and then loading it onto alpine.
from docker-dmd.
Related Issues (2)
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 docker-dmd.