Code Monkey home page Code Monkey logo

docker-apk.static's Introduction

apk.static: a minimum viable base image

This image provides the absolute minimum contents necessary to safely bootstrap a container to the point that it is not necessary to build a rootfs on the host to add to the container; i.e. it can be delegated to the package manager, Alpine Linux's apk. We include a static build of apk and signing keys for the Alpine repositories only; even busybox is excluded, which leaves no shell. This means that it's fairly difficult to run anything in this container, and a Dockerfile generally must use the exec form of RUN to install packages unless other executables are added. The recommended form is as follows:

FROM vaca/apk.static
RUN ["apk.static","--no-cache","--no-progress","add","--upgrade", \
    "alpine-baselayout", \
    "alpine-keys", \
    "musl-utils"]

Note that images built over will generally not be the smallest images possible for their purpose, and in fact the use of a static apk executable means derived images which otherwise use OpenSSL will generally be about 2M bigger than an equivalent image with dynamically linked apk.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.