Sign inSign up

azukiapp/debian

By azukiapp

Updated over 10 years ago

Docker image to run Linux Debian (jessie) by Azuki - http://azk.io

Image
0

1.7K

azukiapp/debian repository overview

azukiapp/debian

Base docker image to run Linux applications in azk

Versions (tags)

- [`latest`, `jessie`, `8`, `8.0`](https://github.com/azukiapp/docker-debian/blob/master/8.0/Dockerfile)

Image content:

  • Debian 8.0 Jessie
  • Git
  • VIM
  • curl
  • wget
  • python
  • Fixed en_US.UTF-8 locales
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": {
    // Dependent systems
    depends: [], // postgres, mysql, mongodb ...
    // More images:  http://images.azk.io
    image: {"docker": "azukiapp/debian"},
    // Steps to execute before running instances
    provision: [
      // "./script.sh",
    ],
    workdir: "/azk/#{manifest.dir}",
    shell: "/bin/bash",
    command: "# command to run app. i.g.: `./start.sh`",
    wait: {"retry": 20, "timeout": 1000},
    mounts: {
      '/azk/#{manifest.dir}': path("."),
    },
    scalable: {"default": 1},
    http: {
      domains: [ "#{system.name}.#{azk.default_domain}" ]
    },
    ports: {
      // http: "8080"
    },
    envs: {
      // set instances variables
      EXAMPLE: "value",
    },
  },
});
Usage with docker

To create the image azukiapp/debian, execute the following command on the docker-debian folder:

$ docker build -t azukiapp/debian .

To run the image and bind to port 8080:

$ docker run -it --rm --name my-app -p 8080:8080 -v "$PWD":/myapp -w /myapp azukiapp/debian script.sh

Logs

# with azk
$ azk logs my-app

# with docker
$ docker logs <CONTAINER_ID>

License

Azuki Dockerfiles distributed under the Apache License.

Tag summary

Content type

Image

Digest

sha256:0ab970cc6

Size

109.9 MB

Last updated

over 10 years ago

docker pull azukiapp/debian