Skip to content

Commit

Permalink
Merge pull request #1 from yamamoto-febc/init
Browse files Browse the repository at this point in the history
Initial implements
  • Loading branch information
yamamoto-febc authored Apr 5, 2018
2 parents 6f9c663 + 33fad8b commit 71eac2b
Show file tree
Hide file tree
Showing 3,252 changed files with 1,009,807 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env
bin/
test/
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
bin/
test/
/**/.terraform*
/**/terraform.tfstate*
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: go
go: "1.10"

install:
- make tools

script:
- make test build-x
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM golang:1.10 as builder
LABEL maintainer="Kazumichi Yamamoto <[email protected]>"
MAINTAINER Kazumichi Yamamoto <[email protected]>

RUN apt-get update && apt-get -y install bash git make zip && apt-get clean && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*

RUN go get -u github.com/motemen/gobump/cmd/gobump

ADD . /go/src/github.com/yamamoto-febc/terraform-provider-rke
WORKDIR /go/src/github.com/yamamoto-febc/terraform-provider-rke
RUN make build
###

FROM hashicorp/terraform:0.11.5
MAINTAINER Kazumichi Yamamoto <[email protected]>
LABEL MAINTAINER 'Kazumichi Yamamoto <[email protected]>'

RUN set -x && apk add --no-cache --update ca-certificates
RUN mkdir -p /root/.terraform.d/plugins
COPY --from=builder /go/src/github.com/yamamoto-febc/terraform-provider-rke/bin/* /root/.terraform.d/plugins/
Loading

0 comments on commit 71eac2b

Please sign in to comment.