IdleMoments

4th July 2022

Yet another attempt at a collaboration project. This one focused on a collaborative effort to maintain common tools, scripts, configuration and utilities - primarily via docker images - that myself and my colleagues used in both work and personal projects.

GitHub Repositories: https://github.com/idlemoments

Docker Hub Repositories: https://hub.docker.com/r/idlemoments/frontend-build

docker-frontend-build

Repository: https://github.com/idlemoments/docker-frontend-build

This provides frontend build tools (node, yarn, gulp) to provide a consistent environment for developed and CI/CD deployment processes.

Usage

# Gulp
docker run --rm ${PWD}:/app -w /app idlemoments:docker-frontend-build gulp build

# Yarn install
docker run --rm ${PWD}:/app -w /app idlemoments:docker-frontend-build yarn install

docker-php

Repository: https://github.com/idlemoments/docker-php

Custom PHP images of various versions (5.6 - 8) which included common extensions (i.e. opcache, soap, gd) we use already packaged in.

docker-certbot

Repository: https://github.com/idlemoments/docker-certbot

A containerised version of the LetsEncrypt certbot including extensions to allow easy integration with 3rd party providers so DNS verification could be done.

docker-composer

Repository: https://github.com/idlemoments/docker-composer

Extended the docker-php images mentioned above and added composer. This allows for composer update to be run in a different container (so composer is not required in the main PHP image) and ensures all the dependencies are met.

skeleton-lamp-stack

Repository: https://github.com/idlemoments/lamp-skeleton

A skeleton configuration for a LAMP project. It includes PHP, nginx & MySQL and can be neatly packaged up to provide the whole solution to someone else as a single zip file.

Liked this article?

Subscribe to my newsletter and get the ramblings of a wannabe #indiehacker straight in your inbox once a month. Ramblings will cover a variety of topics including:-

Web Development, DevOps, Startups, Bootstrapping, #buildinpublic, SEO, opinion and personal experience.

I won't send you spam and you can unsubscribe at any time.