Skip to content

Instantly share code, notes, and snippets.

View pjvds's full-sized avatar
:octocat:
‏‏‎

Pieter Joost van de Sande pjvds

:octocat:
‏‏‎
View GitHub Profile
@pjvds
pjvds / Dockerfile
Created January 16, 2014 10:32
Dockerfile for Adobe AIR SDK
FROM ubuntu
ENV AIR_HOME /opt/air_sdk_3.9
ENV JVM_HOME /opt/jvm
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install wget unzip software-properties-common python-software-properties -y
# Install Adobe Air SDK
@pjvds
pjvds / wercker.yml
Created November 14, 2013 08:48
Wercker.yml that generated a config/database.yml for rails
box: wercker/ruby
services:
- wercker/postgresql9.2
build:
steps:
- create-file:
filename: config/database.yml
content: |-
adapter: postgresql
encoding: utf8
- script:
name: mp3splt
code: |
echo 'deb http://mp3splt.sourceforge.net/repository precise main' | sudo tee -a /etc/apt/sources.list
sudo cat /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libmp3splt0-mp3 libmp3splt0-ogg libmp3splt0-flac mp3splt mp3splt-gtk
box: wercker/nodejs
build:
- script:
name: Copy file to output dir
code: cp MY.JAR $WERCKER_OUTPUTDIR/

Here is a list of things I would love to see on every box at wercker:

Packages

Most package managers depend on source version control software, and I frequently retrieve code from external locations next to in a build.

  • git
  • mercurial
  • svn
  • bzr
  • 1 cup Coconut oil
  • 1 cup Cacoabutter
  • 1.5 cup Cacoa pouder
  • 1/2 cup Maple syrup
@pjvds
pjvds / wercker.yml
Created September 17, 2013 08:32
Demonstration of the usage of the email-notify step.
box: wercker/ruby
build:
steps:
# Execute the bundle install step, a step provided by wercker
- bundle-install
# Execute a custom script step.
- script:
name: middleman build
code: bundle exec middleman build --verbose
after-steps:
@pjvds
pjvds / Makefile
Created August 31, 2013 19:09
Make file for Golang projects
# Targets:
# all: Builds the code
# build: Builds the code
# clean: cleans the code
# install: Installs the code to the GOPATH
# iref: Installs referenced projects
# test: Runs the tests
# Go commands
GOCMD=go
@pjvds
pjvds / wercker.yml
Last active December 21, 2015 22:39
A wercker.yml that also install the libfreetype-dev headers
box: wercker/python
build:
steps:
- install-packages:
packages: libfreetype6-dev
- pip-install
- script:
name: tests
code: python tests.py