Last active
August 9, 2017 20:28
-
-
Save iynere/1e437b30d57927dd51572716f8800df2 to your computer and use it in GitHub Desktop.
calendly Dockerfile: https://hub.docker.com/r/iynere/calendly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM circleci/ruby:2.4.1-node-browsers | |
USER root | |
# pulling in commands from 'install os packages' | |
RUN sudo apt-get update | |
RUN sudo apt-get install -y qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x postgresql-client | |
# install elasticsearch | |
RUN wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.2.tar.gz | |
RUN tar -xvf elasticsearch-5.4.2.tar.gz | |
WORKDIR /opt | |
# install java | |
RUN sudo echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list && sudo apt update && sudo apt install -t jessie-backports openjdk-8-jre-headless ca-certificates-java | |
USER circleci | |
USER root | |
RUN sudo chown -R circleci /elasticsearch-5.4.2 | |
RUN sudo chown -R circleci /etc/java-8-openjdk | |
USER circleci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment