sitback / docker-containers Goto Github PK
View Code? Open in Web Editor NEWWeb-focused Docker containers
License: MIT License
Web-focused Docker containers
License: MIT License
To run browser tests in.
Quite a few of our build are failing due to network timeouts, e.g. when running npm install
.
We should add a retry
shell command that takes any arguments and a --retry=3
flag which retries until the command succeeds or the max retries is exceeded.
This would go into all base containers.
For catching mail:
PHP5.5 is technically "old stable" and 5.6 is then new "stable".
Either install something like mailhog or add postfix and configure rerouting.
In the base Dockerfiles we are using apt-get -y update. Should we modify it to include --fix-missing?
Into each of the SOE containers.
We need this for LTS PHP 5.4 support unfortunately. Some of our clients won't be moving across to 5.6 any time soon due to enterprise requirements.
This should contain the following features to bring it to feature parity with the Ubuntu 14.04 image:
supervisord
Australia/Sydney
set as the default timezoneen_AU
set as the default localegcc
βor clang
, make
, autoconf
, automake
)curl
telnet
rsync
wget
nano
vim
net-tools
git
zip
& unzip
cron
python
supervisor-stdout
(may need to be installed via easy_install
, see the Ubuntu Dockerfile)Should have a variation of the below (lifted from a project):
FROM sitback/base:ubuntu-14.04
MAINTAINER Chinthaka Godawita <[email protected]>
# Add node 5.x via nodesource.
RUN curl -sL https://deb.nodesource.com/setup_5.x | bash -
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
# Setup application base directory.
RUN mkdir -p /server
WORKDIR /server
# Chrome repos.
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update
# Chrome + XVFB for headless support
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y xvfb google-chrome-stable
# Ember global requirements.
RUN npm install -g bower ember-cli
As soon it goes GA which, now that the final RC is out, shouldn't be long.
It will speed up composer installs
Use 2.4.x and base it off the base elasticsearch
container.
For testing purposes.
Thanks!
All containers need updating.
This should be as simple as incrementing the patch version in the DC_BASE_VERSION
variable in both base containers and triggering a build.
Is it really working?
Can we create our own version of the autohost proxy and terminate SSL there? A wildcard certificate should be easy enough to generate for the *.docker
TLD.
Running Solr 4.x and preferably with Drupal config in it.
Maybe we should to split this up into two containers: one with just the Solr install and another that depends on it and adds search-api's Solr config.
Figure out how to integrate memcached
support into the SOE containers.
Some images may already have them, if so, enable them by default. These extensions are widely used across most projects..
Depends on the outcome of the issue in docker-helpers: chinthakagodawita/docker-hat#3
Wouldn't it be nice to have images automatically built on push?
POC - https://hub.docker.com/r/chinthakagodawita/soe-auto/builds/
PHP 5.3 and 5.4 are no longer supported and Ubuntu 12.04 goes end-of-life in April 2017.
Builds for these containers will stop on the 3rd of April 2017 and the Docker image repositories will be removed on the 3rd of July. Plan accordingly.
Will need to be done in:
php
containerssoe
containers that don't inherit from php
Ubuntu 12.04 goes end-of-life in April 2017.
See #48
This will proxy requests to app:80
similar to the proxy:nginx
container.
Maybe we can create a test.rb
file for each container that can be executed to test it?
e.g. for the SOE container, check that all supervisord
services are running and that we can successfully run phpinfo()
page.
We can then run this via CI to test after build.
Raising so we have reminder to remove the images from Docker Hub.
See #48
Plan to migrate these Docker containers over to the Sitback organisation:
chinthakagodawita
with sitback
in the code
chinthakagodawita/docker-ubuntu
for nowchinthakagodawita/docker-hat
to pull from sitback
chinthakagodawita
Docker Hub repositories running for backwards-compatibilitysitback
repositoriesIt has a significant negative effect when running certain commands, such as composer
.
docker-web
is too narrow a name, lets be flexible.
May need to update references in docker-hat too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.