-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from viktorbenei/master
v0.9.8
- Loading branch information
Showing
4 changed files
with
44 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
FROM ubuntu:14.04.2 | ||
FROM golang:1.5-wheezy | ||
|
||
ENV PROJ_NAME envman | ||
|
||
RUN apt-get update | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install git mercurial golang | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install git mercurial curl rsync ruby | ||
|
||
RUN mkdir /go | ||
RUN mkdir /go/bin | ||
RUN mkdir -p /go/src/github.com/bitrise-io/envman | ||
RUN export GOPATH=/go | ||
# From the official Golang Dockerfile | ||
# https://github.com/docker-library/golang/blob/master/1.4/Dockerfile | ||
RUN mkdir -p /go/src /go/bin && chmod -R 777 /go | ||
ENV GOPATH /go | ||
RUN export PATH=$PATH:$GOPATH/bin | ||
ENV PATH $PATH:$GOPATH/bin | ||
|
||
WORKDIR /go/src/github.com/bitrise-io/envman | ||
ENV PATH /go/bin:$PATH | ||
|
||
COPY . /go/src/github.com/bitrise-io/envman | ||
RUN mkdir -p /go/src/github.com/bitrise-io/$PROJ_NAME | ||
COPY . /go/src/github.com/bitrise-io/$PROJ_NAME | ||
|
||
RUN go get ./... | ||
WORKDIR /go/src/github.com/bitrise-io/$PROJ_NAME | ||
# godep | ||
RUN go get -u github.com/tools/godep | ||
RUN godep restore | ||
# install | ||
RUN go install | ||
|
||
CMD envman --version |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Changes | ||
|
||
* Internal revisions. | ||
* First version with initial, offical Linux support (built with docker & docker-compose)! | ||
|
||
|
||
## Install | ||
|
||
To install this version, run the following commands (in a bash shell): | ||
|
||
``` | ||
curl -L https://github.com/bitrise-io/envman/releases/download/0.9.8/envman-$(uname -s)-$(uname -m) > /usr/local/bin/envman | ||
``` | ||
|
||
Then: | ||
|
||
``` | ||
chmod +x /usr/local/bin/envman | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters