Created
August 10, 2022 20:59
-
-
Save oleewere/b60a5469b0429bf8e0fad34627596d64 to your computer and use it in GitHub Desktop.
docker deployer build
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
docker-build: | |
docker build -t oleewere/cbd:latest . | |
docker run --rm --entrypoint cp -v $$(pwd):/src oleewere/cbd:latest build/Darwin/cbd /src/cbd | |
Dockerfile: | |
FROM golang:1.12 | |
ADD . /go/src/github.com/hortonworks/cloudbreak-deployer | |
WORKDIR /go/src/github.com/hortonworks/cloudbreak-deployer | |
ENV GO111MODULE=off | |
RUN go get -u github.com/jteeuwen/go-bindata/... | |
RUN make deps | |
RUN make build | |
#RUN cp build/Darwin/cbd /src/build/cbd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment