summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker-compose/docker-compose_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/docker-compose/docker-compose_git.bb')
-rw-r--r--recipes-containers/docker-compose/docker-compose_git.bb14
1 files changed, 9 insertions, 5 deletions
diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb
index 07650126..91ceb011 100644
--- a/recipes-containers/docker-compose/docker-compose_git.bb
+++ b/recipes-containers/docker-compose/docker-compose_git.bb
@@ -8,10 +8,10 @@ DEPENDS = " \
8" 8"
9 9
10# Specify the first two important SRCREVs as the format 10# Specify the first two important SRCREVs as the format
11SRCREV_FORMAT="compose_survey" 11SRCREV_FORMAT = "compose_survey"
12SRCREV_compose = "3371227794f5f3645f4f19829c60a741635ed329" 12SRCREV_compose = "eaf9800948e022573997649656c040a19d4b15c2"
13 13
14SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https" 14SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
15 15
16include src_uri.inc 16include src_uri.inc
17 17
@@ -23,7 +23,7 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f60
23 23
24GO_IMPORT = "import" 24GO_IMPORT = "import"
25 25
26PV = "v2.26.0" 26PV = "v2.33.1"
27 27
28COMPOSE_PKG = "github.com/docker/compose/v2" 28COMPOSE_PKG = "github.com/docker/compose/v2"
29 29
@@ -55,7 +55,7 @@ do_compile() {
55 # our copied .go files are to be used for the build 55 # our copied .go files are to be used for the build
56 ln -sf vendor.copy vendor 56 ln -sf vendor.copy vendor
57 # inform go that we know what we are doing 57 # inform go that we know what we are doing
58 cp ${WORKDIR}/modules.txt vendor/ 58 cp ${UNPACKDIR}/modules.txt vendor/
59 59
60 GO_LDFLAGS="-s -w -X internal.Version=${PV} -X ${COMPOSE_PKG}/internal.Version=${PV}" 60 GO_LDFLAGS="-s -w -X internal.Version=${PV} -X ${COMPOSE_PKG}/internal.Version=${PV}"
61 GO_BUILDTAGS="" 61 GO_BUILDTAGS=""
@@ -78,3 +78,7 @@ FILES:${PN} += " ${nonarch_libdir}/docker/cli-plugins/"
78 78
79INHIBIT_PACKAGE_STRIP = "1" 79INHIBIT_PACKAGE_STRIP = "1"
80INSANE_SKIP:${PN} += "ldflags already-stripped" 80INSANE_SKIP:${PN} += "ldflags already-stripped"
81
82# the AWS dependency is 8GB, try and control the
83# size of the clones
84BB_GIT_SHALLOW = "1" \ No newline at end of file