Skip to content

Commit

Permalink
Merge branch 'docker-autobuild'
Browse files Browse the repository at this point in the history
  • Loading branch information
elwinar committed Jun 5, 2018
2 parents cff75ff + 8f92117 commit ce8928d
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 116 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM golang
COPY . /go/src/github.com/elwinar/rambler
WORKDIR /go/src/github.com/elwinar/rambler
RUN go get ./...
RUN go build

FROM scratch
MAINTAINER Romain Baugue <romain.baugue@elwinar.com>

COPY rambler /
COPY --from=0 /go/src/github.com/elwinar/rambler/rambler /
CMD ["/rambler", "apply", "-a"]
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ fetch: ## Fetch the dependencies
help: ## Get help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-10s\033[0m %s\n", $$1, $$2}'

.PHONY: image
image: ## Build the docker image
docker build . -t elwinar/rambler --no-cache

.PHONY: release
release: ## Build the release files
xgo --targets=$(TARGETS) --ldflags=$(LDFLAGS) $(PKG)
Expand Down
7 changes: 0 additions & 7 deletions Vagrantfile

This file was deleted.

13 changes: 0 additions & 13 deletions etc/bashrc

This file was deleted.

20 changes: 0 additions & 20 deletions etc/mirrorlist

This file was deleted.

36 changes: 0 additions & 36 deletions etc/nginx.conf

This file was deleted.

4 changes: 0 additions & 4 deletions etc/npmrc

This file was deleted.

6 changes: 0 additions & 6 deletions etc/php.ini

This file was deleted.

21 changes: 0 additions & 21 deletions etc/provision.sh

This file was deleted.

3 changes: 0 additions & 3 deletions etc/start.sh

This file was deleted.

0 comments on commit ce8928d

Please sign in to comment.