Skip to content

Instantly share code, notes, and snippets.

View mlocher's full-sized avatar

Marko Locher mlocher

View GitHub Profile
#!/bin/sh
# Install a Hugo on Codeship, https://gohugo.io/
#
# You can either add this here, or configure them on the environment tab of your
# project settings.
HUGO_VERSION="0.14"
HUGO_DIR=${HUGO_DIR:="$HOME/hugo"}
set -e
CACHED_DOWNLOAD="${HOME}/cache/hugo_${HUGO_VERSION}_linux_amd64.tar.gz"
@mlocher
mlocher / Dockerfile
Last active September 21, 2017 12:39 — forked from krtierney/Dockerfile
Dockerfile best practices
FROM ruby:2.3.0
LABEL maintainer="Kaitlyn Tierney, [email protected]"
ENV RAILS_ENV=test
RUN apt-get update -qq \
&& apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
nodejs \