Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
heketi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Evili del Rio i Silvan
heketi
Commits
c7f1e249
Commit
c7f1e249
authored
8 years ago
by
Luis Pabón
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Dockerfile needs branch setting
Future releases need to adjust the branch where the image is built from.
parent
0fae7398
No related branches found
Branches containing commit
Tags
Esplugues_demo
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extras/docker/unstable/Dockerfile
+3
-3
3 additions, 3 deletions
extras/docker/unstable/Dockerfile
with
3 additions
and
3 deletions
extras/docker/unstable/Dockerfile
+
3
−
3
View file @
c7f1e249
...
@@ -9,16 +9,16 @@ LABEL description="Development build"
...
@@ -9,16 +9,16 @@ LABEL description="Development build"
ENV
BUILD_HOME=/build
ENV
BUILD_HOME=/build
ENV
GOPATH=$BUILD_HOME/golang
ENV
GOPATH=$BUILD_HOME/golang
ENV
PATH=$GOPATH/bin:$PATH
ENV
PATH=$GOPATH/bin:$PATH
ENV
HEKETI
C_CONF_DIR=/etc/heketi
ENV
HEKETI
_BRANCH="master"
# install dependencies, build and cleanup
# install dependencies, build and cleanup
RUN
mkdir
$BUILD_HOME
$GOPATH
$HEKETI_CONF_DIR
&&
\
RUN
mkdir
$BUILD_HOME
$GOPATH
&&
\
dnf
-q
-y
install
golang git
&&
\
dnf
-q
-y
install
golang git
&&
\
dnf
-q
-y
install
make
&&
\
dnf
-q
-y
install
make
&&
\
dnf
-q
-y
clean all
&&
\
dnf
-q
-y
clean all
&&
\
mkdir
-p
$GOPATH
/src/github.com/heketi
&&
\
mkdir
-p
$GOPATH
/src/github.com/heketi
&&
\
cd
$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
&&
\
go get github.com/tools/godep
&&
\
cd
$GOPATH
/src/github.com/heketi/heketi
&&
make
&&
\
cd
$GOPATH
/src/github.com/heketi/heketi
&&
make
&&
\
cp
heketi /usr/bin/heketi
&&
\
cp
heketi /usr/bin/heketi
&&
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment