Giter Site home page Giter Site logo

docker-containers's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-containers's Issues

Add 'retry' command

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.

Create a CentOS 7 base container

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:

  • Services handled through supervisord
  • Australia/Sydney set as the default timezone
  • en_AU set as the default locale
  • The following software:
    • Base build tools (gccβ€”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)
  • rspec tests

Create container for testing Ember apps

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

June/July maintenance updates

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.

Test HTTPS support

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.

Add Solr container

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.

Memcached support

Figure out how to integrate memcached support into the SOE containers.

Upgrade Drush to 8.x

Will need to be done in:

  • All php containers
  • soe containers that don't inherit from php
  • Unit tests

Create test commands for each 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.

Migrate repository over to Sitback

Plan to migrate these Docker containers over to the Sitback organisation:

  • Find/replace all instances of chinthakagodawita with sitback in the code
    • Except chinthakagodawita/docker-ubuntu for now
  • Update chinthakagodawita/docker-hat to pull from sitback
  • Setup CircleCI on the Sitback Github organisation
  • Setup CodeApprove on the Sitback Github organisation
  • Transfer ownership of repository over to Sitback
  • Leave the chinthakagodawita Docker Hub repositories running for backwards-compatibility
  • Update all projects to use the sitback repositories

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.