Commit ec973737 authored by Ryan Kuba's avatar Ryan Kuba

adding more dev containers

parent 78a3124f
Pipeline #15310980 passed with stage
in 7 minutes and 19 seconds
#Dockerfile for Go Development container
#2017
#Use the Go base image
FROM golang:1.8.5-jessie
MAINTAINER Ryan Kuba <ryankuba@gmail.com>
# Grab Cloud9 and install under root
RUN curl https://s3-us-west-2.amazonaws.com/taisun-pubfiles/cloud9.tar.gz | tar xz -C /
#Install Dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git supervisor software-properties-common apt-transport-https && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends expect tcl docker-ce && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* &&\
curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose &&\
chmod +x /usr/local/bin/docker-compose
#Copy over supervisor config file and start script
COPY ./go.conf /etc/supervisor/conf.d/go.conf
COPY ./start.sh /start.sh
#App runs on port 80
EXPOSE 80
#Run Supervisor
CMD ["/usr/bin/supervisord"]
#Dockerfile for Python Development container
#2017
#Use the Python base image
FROM python:3.6.3-jessie
MAINTAINER Ryan Kuba <ryankuba@gmail.com>
# Grab Cloud9 and install under root
RUN curl https://s3-us-west-2.amazonaws.com/taisun-pubfiles/cloud9.tar.gz | tar xz -C /
#Install Dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git supervisor software-properties-common apt-transport-https && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends expect tcl docker-ce && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* &&\
curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose &&\
chmod +x /usr/local/bin/docker-compose
#Copy over supervisor config file and start script
COPY ./python.conf /etc/supervisor/conf.d/python.conf
COPY ./start.sh /start.sh
#App runs on port 80
EXPOSE 80
#Run Supervisor
CMD ["/usr/bin/supervisord"]
#Dockerfile for Ruby Development container
#2017
#Use the Ruby base image
FROM ruby:2.4.3-jessie
MAINTAINER Ryan Kuba <ryankuba@gmail.com>
# Grab Cloud9 and install under root
RUN curl https://s3-us-west-2.amazonaws.com/taisun-pubfiles/cloud9.tar.gz | tar xz -C /
#Install Dependencies
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git supervisor software-properties-common apt-transport-https && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" && \
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends expect tcl docker-ce && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* &&\
curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose &&\
chmod +x /usr/local/bin/docker-compose
#Copy over supervisor config file and start script
COPY ./ruby.conf /etc/supervisor/conf.d/ruby.conf
COPY ./start.sh /start.sh
#App runs on port 80
EXPOSE 80
#Run Supervisor
CMD ["/usr/bin/supervisord"]
[supervisord]
nodaemon=true
[program:starter]
command=/bin/bash /start.sh
autorestart=True
priority=1
startretries=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
\ No newline at end of file
[supervisord]
nodaemon=true
[program:starter]
command=/bin/bash /start.sh
autorestart=True
priority=1
startretries=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
\ No newline at end of file
[supervisord]
nodaemon=true
[program:starter]
command=/bin/bash /start.sh
autorestart=True
priority=1
startretries=0
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment