Skip to content

Latest commit

 

History

History
79 lines (58 loc) · 2.09 KB

README.md

File metadata and controls

79 lines (58 loc) · 2.09 KB

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.