Skip to content

Instantly share code, notes, and snippets.

View ilgooz's full-sized avatar
🌔
cosmos

İlker G. Öztürk ilgooz

🌔
cosmos
View GitHub Profile
FROM golang
MAINTAINER İlker Göktuğ Öztürk <[email protected]>
RUN go get ./... && go install bitbucket.org/ilgooz/pdf/app
# Install Java.
RUN \
apt-get update && \
apt-get install -y openjdk-7-jre && \
package main
import (
"fmt"
"net/http"
)
func handler(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:])
}
@ilgooz
ilgooz / gist:d980ed1980d6c8bf7c9c
Last active August 29, 2015 14:10
crate docker
// Dockerfile
FROM crate:latest
ADD config.yml /crate/config/crate.yml
ENV MIN 10g
ENV MAX 10g
ENV CRATE_MIN_MEM 10g
ENV CRATE_MAX_MEM 10g