Skip to content

Commit 673a88e

Browse files
author
Kent Rancourt
committed
Initial commit.
0 parents  commit 673a88e

4 files changed

Lines changed: 42 additions & 0 deletions

File tree

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
VERSION := 0.1.0
2+
REGISTRY ?= quay.io
3+
IMAGE_PREFIX ?= deis/
4+
IMAGE := ${REGISTRY}/${IMAGE_PREFIX}go-dev:${VERSION}
5+
6+
build:
7+
docker build -t ${IMAGE} rootfs
8+
9+
push: build
10+
docker push ${IMAGE}

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#deis/go-dev
2+
3+
docker-go-dev is the source for the `deis/go-dev` Docker image available at [quay.io](https://quay.io).
4+
5+
Its purpose is to provide a lightweight Go development environment for use by Deis contributors. Many Deis component builds delegate to containers based on this image, thereby eliminating the need for contributors to install and manage any specific set of development tools and version thereof.
6+
7+
At present the image just contains:
8+
9+
* go (from the golang:1.5.1 image)
10+
* glide (for go dependency management)
11+
12+
Although created for use with Deis development, this image may prove generally useful to the Go community.

rootfs/Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM golang:1.5.1
2+
3+
ENV GO15VENDOREXPERIMENT=1
4+
ENV GLIDE_HOME=/root
5+
6+
WORKDIR /tmp
7+
8+
RUN wget https://github.com/Masterminds/glide/releases/download/0.7.2/glide-0.7.2-linux-amd64.tar.gz
9+
10+
RUN tar xvfz glide-0.7.2-linux-amd64.tar.gz
11+
12+
RUN mv linux-amd64/glide /usr/local/bin/
13+
14+
RUN rm -rf linux-amd64 glide-0.7.2-linux-amd64.tar.gz
15+
16+
WORKDIR /go
17+
18+
COPY . /

rootfs/root/.hgrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[trusted]
2+
users = *

0 commit comments

Comments
 (0)