Skip to content

Commit

Permalink
Merge pull request #72 from viktorbenei/master
Browse files Browse the repository at this point in the history
v0.9.8
  • Loading branch information
viktorbenei committed Sep 7, 2015
2 parents a629239 + ad02218 commit b49ba68
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 17 deletions.
27 changes: 15 additions & 12 deletions Dockerfile
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
10 changes: 5 additions & 5 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions _changelogs/0.9.8.md
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
```
5 changes: 5 additions & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ app:
- BITRISE_BIN_NAME: envman
- GITHUB_RELEASES_URL: https://github.com/bitrise-io/${BITRISE_BIN_NAME}/releases
workflows:
docker-cleanup-dangling-images:
steps:
- script:
inputs:
- content: docker rmi $(docker images -f "dangling=true" -q)
create-release:
steps:
- script:
Expand Down

0 comments on commit b49ba68

Please sign in to comment.