Comments (6)
Also FYI turns out the debian-stable-slim image is 69MB on my machine, so really 0 difference at all
from deno_docker.
@hayd i'm not too familiar to installing it through GH, but though through deno.land is official right? I assume you have to change the permissions on the file due to installing it through GH? Which is something not needed when installing through deno.land
from deno_docker.
I just mean, that deno.land uses GH behind the scenes. It's a good point that it is official. 🤔
from deno_docker.
Of course it's entirely up to you
If you are against any ideas then feel free to close this issue 👍 I'll leave it open if you wanted to discuss it more or it might be a good idea for the future or something
from deno_docker.
I think the reason to keep the current way is it is explicit (in a single RUN step):
- install curl and unzip
- curl the file from GH
- unzip
- uninstall curl and unzip
deno install essentially does the same thing (the curl and unzip), but it's obscured.
I'm not really convinced that using deno install
is any simpler! 🤷
BTW In your example above you do the curl/unzip install in a previous step, this bloats the image a little (though those are both small), I think what the docker file should do is install deno only (and set ENV variables) no other libs that aren't required for deno to run.
That said, very happy to add slim (I thought the current debian image was slim, but it is tied to a specific tag).
Can you open another issue for the ARGS concern? I am not sure I grok the issue but it sounds important/useful to fix. (and seems independent of using deno install
in the dockerfile)
from deno_docker.
I'm not really convinced that using deno install is any simpler! 🤷
Fair enough :)
To be honest, i'm not sure the size of debian-slim compared to the one you use (i only assume it's smaller), but there might not even be much difference in size
FYI Made the issue for the args: #88
from deno_docker.
Related Issues (20)
- Deno Jupyter image
- Alpine 3.15? HOT 5
- Deno install not working correctly
- Docker Hub description (README) is outdated HOT 1
- 1.20.2 image not published HOT 1
- Release improvements
- Create Alpine/APK package for Deno HOT 9
- Tini warning when building 1.28.1 image HOT 3
- Containers for 1.30.0 have Deno CLI version 1.29.4 HOT 2
- Add release workflow HOT 1
- Cache not caching all deps? HOT 10
- Become a docker verified publisher
- Use Docker official actions
- Document tini HOT 3
- Bash function not working as intended from the documentation
- No tag for 1.36.2 HOT 1
- Permission denied (os error 13) when writing to file from Dockerfile
- Simple express app segfaults in alpine Docker image HOT 2
- Docker sponsorship and/or alternate container registry options HOT 1
- Proposal: Distroless and Alpine image improvements. HOT 3
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 deno_docker.