Skip to content

Instantly share code, notes, and snippets.

@james-nesbitt
james-nesbitt / Dockerfile
Last active April 26, 2016 13:19
GRUNT-COMPASS-DOCKERFILE
FROM jamesnesbitt/wunder-base
USER root
# install ruby stuff
RUN /usr/bin/yum install --assumeyes ruby ruby-devel rubygem-bundler
# Install nodejs and npm
RUN /usr/bin/yum install --assumeyes nodejs npm
# add theme files to image
@james-nesbitt
james-nesbitt / docker-compose.yml
Last active May 2, 2016 06:47
OSX Docker-Compose test yml
version: "2"
services:
www:
image: jamesnesbitt/alpine-nginx-pagespeed-app
links:
- fpm:fpm.app
ports:
- 8080:80
networks:
- default
@james-nesbitt
james-nesbitt / composer.sh
Last active May 10, 2016 08:52
composer in a container
#!/usr/bin/env bash
# How to use me:
# 1. put me into any bin path, or run me using a full path (probably make me executable.)
# 2. cd into any path that has a composer.json file
# 3. run me, and pass me any flags that you would pass to composer
#
# define which image to use as a command shell image
#
@james-nesbitt
james-nesbitt / shell.sh
Created May 10, 2016 09:08
Get a shell prompt, inside a container
#!/usr/bin/env bash
# How to use me:
# 1. put me into any bin path, or run me using a full path (probably make me executable.)
# 2. cd into any path in which you would like to have shell access
# 3. run me, and you will be entered into an alternate shell with more tools
#
# define which image to use as a command shell image
#
<?php
$data['ekk_candidate']['contest_id'] = [
'title' => t('Contest'),
'help' => t('Candidate contest nid field.'),
'field' => [
'id' => 'numeric',
'click sortable' => TRUE,
],
'filter' => [
@james-nesbitt
james-nesbitt / docker-compose.yml
Created June 1, 2016 11:04
WKFI docker-compose definition
# WunderTools docker-compose
#
version: "2"
services:
####
# Source
#
source:
# WunderTools docker-compose
#
version: "2"
services:
####
# Source
#
source:
# WunderTools docker-compose
#
version: "2"
services:
####
# Source
#
source:
@james-nesbitt
james-nesbitt / wkfi.docker-compose.prod.v1.yml
Created June 13, 2016 11:23
WKFI: PROD: Docker-Compose YML
# WunderTools docker-compose
#
####
# Source
#
source:
image: quay.io/wunder/client-fi-wkfi-source:master
command:
- /bin/true
volumes:
@james-nesbitt
james-nesbitt / d8-init.yml
Last active August 30, 2016 06:36
An attempt at a wundertools-go init template for D8
- Type: File
path: .wundertools/settings.yml
Contents: |
'Project: wundertest
'
- Type: File
path: .wundertools/commands.yml
Contents: |
'
shell: