mini-containers / base Goto Github PK
View Code? Open in Web Editor NEWMinimal BusyBox Docker container
License: ISC License
Minimal BusyBox Docker container
License: ISC License
Curious about two things:
mysql-client
(my test case for mini/base was a super small MySQL client). However, that works fine when rebuilt on v3.1.apk upgrade
? The upgrade would be better left to the user if they wanted to. Not sure if there is a need to upgrade assuming you just build the image. Also, adding extra layers for stuff like MAINTAINER
seems kind of against the spirit of something trying to be minimal.Just my $0.02. I'd love to try and use this as my go to for minimal containers. But don't really want to really on edge and would much prefer a base on stable or even better, tags to choose my version.
I'd be happy to make a pull request if you agree on these points. Thanks for your work on this so far!
Hi, I'm trying to use mini/base
to create a minimal-nvm container. see this Dockerfile:
FROM mini/base
RUN apk-install \
bash \
tar \
curl \
git \
c-ares \
libgcc \
libstdc++ \
libuv
RUN rm /bin/sh && ln -s /bin/bash /bin/sh && \
touch ~/.bashrc
ENV NODE_VERSION iojs
RUN NVM_VERSION="$(curl -s -L http://latest.nvm.sh -o /dev/null -D - | grep -Ei '^Location: .*tag/v[0-9.]+' | grep -oEi 'v[0-9.]+')" && \
echo $NVM_VERSION && \
curl https://raw.githubusercontent.com/creationix/nvm/$NVM_VERSION/install.sh | sh && \
source ~/.nvm/nvm.sh && \
nvm install $NODE_VERSION
when running:
โ docker run --rm -it mini-nvm bash
bash-4.3# nvm run iojs -p process.versions
Running io.js v1.5.1
bash: /root/.nvm/versions/io.js/v1.5.1/bin/iojs: No such file or directory
bash-4.3# ls -la /root/.nvm/versions/io.js/v1.5.1/bin/iojs
-rwxrwxr-x 1 500 500 16545561 Mar 9 18:14 /root/.nvm/versions/io.js/v1.5.1/bin/iojs
kriswill 12 hours ago
Any advice is appreciated!
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.