azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
898 stars 63 forks source link

Creating an image of a running container #612

Closed jolic closed 8 years ago

jolic commented 8 years ago

Hello, thank you for this amazing tool.

Is there any documentation that shows a step by step description how a custom image can be generated which can be used with azk?

I would like to take the node image, install some development stuff into it and use it with these changes.

Any help is appreciated!

Thank you.

gullitmiranda commented 8 years ago

hi @jolic

This documentation helps you? http://docs.azk.io/en/reference/azkfilejs/image.html

e.g. of extend the image: https://github.com/azukiapp/docker-elixir/#extend-image-with-dockerfile

# Dockerfile
FROM azukiapp/elixir:1.0

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

CMD ["iex"]
jolic commented 8 years ago

Thank you. I will try that.

gullitmiranda commented 8 years ago

good. I will close this issue. If you have problems or questions can open it again or you can call us on https://gitter.im/azukiapp/azk.