Skip to content

Commit 85669ce

Browse files
committed
feat: Remove Python bindings from Docker Bake configuration
1 parent 0f7bdc7 commit 85669ce

File tree

1 file changed

+2
-46
lines changed

1 file changed

+2
-46
lines changed

docker-bake.hcl

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ group "default" {
6767
}
6868

6969
group "all-dev" {
70-
targets = ["feelpp", "toolboxes", "mor", "python"]
70+
targets = ["feelpp", "toolboxes", "mor"]
7171
}
7272

7373
group "all" {
74-
targets = ["feelpp-runtime", "toolboxes-runtime", "mor-runtime", "python-runtime"]
74+
targets = ["feelpp-runtime", "toolboxes-runtime", "mor-runtime"]
7575
}
7676

7777
group "full" {
@@ -223,50 +223,6 @@ target "mor-runtime" {
223223
]
224224
}
225225

226-
# =============================================================================
227-
# Python Bindings
228-
# =============================================================================
229-
# Builder uses RUNTIME base image (not -dev) - smaller, just needs installed libs.
230-
# Source is cloned in the Dockerfile.
231-
232-
target "python" {
233-
context = "feelpp-python"
234-
dockerfile = "Dockerfile.multistage"
235-
target = "builder"
236-
args = {
237-
FROM_IMAGE = BRANCH == "develop" ? "${REGISTRY}/feelpp-mor:${DIST}" : "${REGISTRY}/feelpp-mor:${DIST}-${BRANCH}"
238-
DESCRIPTION = "Feel++ Python Bindings (dev)"
239-
BRANCH = "${BRANCH}"
240-
CXX = "${CXX}"
241-
CC = "${CC}"
242-
CMAKE_FLAGS = "${CMAKE_FLAGS}"
243-
FEELPP_GITHUB_TOKEN = "${FEELPP_GITHUB_TOKEN}"
244-
FEELPP_GIRDER_API_KEY = "${FEELPP_GIRDER_API_KEY}"
245-
FEELPP_CKAN_API_KEY = "${FEELPP_CKAN_API_KEY}"
246-
FEELPP_CKAN_URL = "${FEELPP_CKAN_URL}"
247-
FEELPP_CKAN_ORGANIZATION = "${FEELPP_CKAN_ORGANIZATION}"
248-
}
249-
tags = BRANCH == "develop" ? [
250-
"${REGISTRY}/feelpp-python:${DIST}-dev"
251-
] : [
252-
"${REGISTRY}/feelpp-python:${DIST}-${BRANCH}-dev"
253-
]
254-
platforms = ["linux/amd64"]
255-
}
256-
257-
target "python-runtime" {
258-
inherits = ["python"]
259-
target = "runtime"
260-
args = {
261-
DESCRIPTION = "Feel++ Python Bindings"
262-
}
263-
tags = BRANCH == "develop" ? [
264-
"${REGISTRY}/feelpp-python:${DIST}"
265-
] : [
266-
"${REGISTRY}/feelpp-python:${DIST}-${BRANCH}"
267-
]
268-
}
269-
270226
# =============================================================================
271227
# Full Build (all components in one image)
272228
# =============================================================================

0 commit comments

Comments
 (0)