Docker

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Docker

Andrius Kairiukstis-2
Just released adhearsion in docker. Both stable and 3.0.0rc1
https://hub.docker.com/r/andrius/alpine-adhearsion/tags/

Its really small, fits with Ruby and API stuff (faraday) in 100MB.

How to use:
Export ENV variables with credentials through command line, docker-compose .env file or just make start.sh script;
Create Dockerfile:

# vim:set ft=dockerfile:

FROM andrius/alpine-adhearsion:3.0.0rc1


MAINTAINER Andrius Kairiukstis <[hidden email]>


WORKDIR /logger

RUN echo "Don't forget to mount at docker startup the project folder to the /logger folder" > README.md


ADD .gemrc /root/.gemrc

RUN ln -s /root/.gemrc /logger/.gemrc


ADD Gemfile /logger/Gemfile


RUN apk add --update --no-cache git &&  rm -rf /var/cache/apk/*


RUN bundle --local --system


--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Docker

Ben Klang-2
How cool! Thanks for doing this Andrius, and for letting us all know about it.

If you’re interested, we could put include this among the Adhearsion documentation on the website, as a community contribution. A pull request to that effect would be welcome: https://github.com/adhearsion/adhearsion-website

/BAK/
-- 
Ben Klang
Principal/Technology Strategist, Mojo Lingo
+1.404.475.4841

Mojo Lingo -- Voice applications that work like magic
Twitter: @MojoLingo

Il giorno May 11, 2016, alle ore 9:18 AM, Andrius Kairiukstis <[hidden email]> ha scritto:

Just released adhearsion in docker. Both stable and 3.0.0rc1

Its really small, fits with Ruby and API stuff (faraday) in 100MB.

How to use:
Export ENV variables with credentials through command line, docker-compose .env file or just make start.sh script;
Create Dockerfile:

# vim:set ft=dockerfile:

FROM andrius/alpine-adhearsion:3.0.0rc1


MAINTAINER Andrius Kairiukstis <[hidden email]>


WORKDIR /logger

RUN echo "Don't forget to mount at docker startup the project folder to the /logger folder" > README.md


ADD .gemrc /root/.gemrc

RUN ln -s /root/.gemrc /logger/.gemrc


ADD Gemfile /logger/Gemfile


RUN apk add --update --no-cache git &&  rm -rf /var/cache/apk/*


RUN bundle --local --system



--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

signature.asc (858 bytes) Download Attachment