Skip to content
Snippets Groups Projects
Commit 900f8495 authored by Luis Pabón's avatar Luis Pabón Committed by GitHub
Browse files

Merge pull request #650 from heketi/lpabon-rel3

Release/3 docker image is now created correctly
parents 22da9242 d9e1e44e
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ ENV BUILD_HOME=/build
ENV GOPATH=$BUILD_HOME/golang
ENV PATH=$GOPATH/bin:$PATH
ENV HEKETIC_CONF_DIR=/etc/heketi
ENV HEKETI_BRANCH="release/3"
# install dependencies, build and cleanup
RUN mkdir $BUILD_HOME $GOPATH $HEKETI_CONF_DIR && \
......@@ -18,7 +19,7 @@ RUN mkdir $BUILD_HOME $GOPATH $HEKETI_CONF_DIR && \
dnf -q -y clean all && \
mkdir -p $GOPATH/src/github.com/heketi && \
cd $GOPATH/src/github.com/heketi && \
git clone https://github.com/heketi/heketi.git && \
git clone -b $HEKETI_BRANCH https://github.com/heketi/heketi.git && \
go get github.com/tools/godep && \
cd $GOPATH/src/github.com/heketi/heketi && make && \
cp heketi /usr/bin/heketi && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment