azukiapp / docker-alpine

Alpine Linux Docker image. Win at minimalism!

Home Page:http://images.azk.io/#/alpine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A super small Docker image based on Alpine Linux.

Circle CI

Alpine versions (tags)

- [`latest`, `3.4`](https://github.com/azukiapp/docker-alpine/blob/v3.4/3.4/Dockerfile) - [`3.3`](https://github.com/azukiapp/docker-alpine/blob/v3.3/3.3/Dockerfile) - [`3.2`](https://github.com/azukiapp/docker-alpine/blob/v3.2/3.2/Dockerfile)

Usage with azk

Example of using that image with azk:

/**
 * Documentation: http://docs.azk.io/Azkfile.js
 */

// Adds the systems that shape your system
systems({
  "my-app": {
    // More info about alpine image: http://images.azk.io/#/alpine?from=images-azkfile-alpine
    image: {"docker": "azukiapp/alpine:3.4"},
    // Steps to execute before running instances
    provision: [
      // "./script.sh",
    ],
    mounts: {
      '/azk/#{manifest.dir}': path("."),
    },
    workdir: "/azk/#{manifest.dir}",
    // command: "# command to run app. i.g.: `./start.sh`",
    wait: false,
  },
});

Extend image with Dockerfile

Install postgresql-client:

# Dockerfile
FROM azukiapp/alpine:3.4

RUN  apk add --update postgresql-client \
  && rm -rf /var/cache/apk/* /var/tmp/*

CMD ["psql"]

To more packages, access alpine packages

License

Azuki Dockerfiles distributed under the Apache License.

About

Alpine Linux Docker image. Win at minimalism!

http://images.azk.io/#/alpine


Languages

Language:Shell 83.6%Language:Makefile 16.4%