Skip to content

Commit

Permalink
docker: Build package from release tarball
Browse files Browse the repository at this point in the history
Work around the tarball build issue [1], by setting the environment
variable [1] `DOCKER_GITCOMMIT`.

That way, the sources can be cashed, which is good.

[1] https://github.com/docker/docker/issues/27581
[2] https://www.gnu.org/software/make/manual/html_node/Environment.html#Environment
  • Loading branch information
pmenzel committed Oct 20, 2016
1 parent 5b08597 commit 46bd261
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker.be0
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

# SRCURL[0]=""
SRCURL[0]="https://github.com/docker/docker/archive/v${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand Down Expand Up @@ -48,9 +48,9 @@ build_in_sourcedir
## Make sure the mee_install function does install everything to the
## image directory "${D}"

mee_extract() {
git clone --branch v${PKGVERSION} --depth 1 https://github.com/docker/docker.git $S
}
#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
Expand All @@ -62,7 +62,7 @@ mee_configure() {

mee_build() {
start_cmd make build
start_cmd make binary
start_cmd make DOCKER_GITCOMMIT=bb80604 binary
}

mee_install() {
Expand Down

0 comments on commit 46bd261

Please sign in to comment.