Skip to content

Instantly share code, notes, and snippets.

View balintant's full-sized avatar
:shipit:

Balint Antal balintant

:shipit:
View GitHub Profile
FROM golang:1.8
ENV WAITFORIT_VERSION="v1.3.1"
RUN curl -o /waitforit -sSL https://github.com/maxcnunes/waitforit/releases/download/$WAITFORIT_VERSION/waitforit-linux_amd64 && \
chmod +x /waitforit
RUN mkdir -p /go/src/app
WORKDIR /go/src/app
ADD . .
RUN go get . && CGO_ENABLED=0 GOOS=linux go build -o /app .
FROM scratch

Keybase proof

I hereby claim:

  • I am balintant on github.
  • I am balintant (https://keybase.io/balintant) on keybase.
  • I have a public key whose fingerprint is E97E F7EE EF2B 386A 36DF F3D5 5EB4 3A3D 56DE A307

To claim this, I am signing this object:

@balintant
balintant / homestead-version.patch
Created February 21, 2016 16:11
Patch to get homestead working with php 5.6 after resetting to 561cdcc6d9612f76110cf40e35076fd8e7dffe71.
--- scripts/homestead.rb 2016-02-21 15:03:21.000000000 +0100
+++ scripts/homestead.rb 2016-02-21 15:05:11.000000000 +0100
@@ -5,6 +5,7 @@ class Homestead
# Configure The Box
config.vm.box = "laravel/homestead"
+ config.vm.box_version = "~> 0.3.3"
config.vm.hostname = "homestead"
# Configure A Private Network IP