Commit c36f671 1 parent bfa734e commit c36f671 Copy full SHA for c36f671
File tree 5 files changed +19
-25
lines changed
5 files changed +19
-25
lines changed Original file line number Diff line number Diff line change 7
7
CHANGELOG.md
8
8
CODE_OF_CONDUCT.md
9
9
CONTRIBUTING.md
10
- docker-compose.test.yml
10
+ docker-compose.test.yaml
11
11
LICENSE
12
12
README.md
Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ SENZING_TOOLS_DATABASE_URL ?= sqlite3://na:na@nowhere/tmp/sqlite/G2C.db
17
17
# OS specific targets
18
18
# -----------------------------------------------------------------------------
19
19
20
- .PHONY : build-osarch-specific
21
- build-osarch-specific : darwin/amd64
22
-
23
-
24
20
.PHONY : clean-osarch-specific
25
21
clean-osarch-specific :
26
22
@docker rm --force $(DOCKER_CONTAINER_NAME ) 2> /dev/null || true
@@ -49,14 +45,6 @@ dependencies-for-development-osarch-specific:
49
45
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH) /bin latest
50
46
51
47
52
- .PHONY : docker-build-osarch-specific
53
- docker-build-osarch-specific :
54
- @docker build \
55
- --tag $(DOCKER_IMAGE_NAME ) \
56
- --tag $(DOCKER_IMAGE_NAME ) :$(BUILD_VERSION ) \
57
- .
58
-
59
-
60
48
.PHONY : documentation-osarch-specific
61
49
documentation-osarch-specific :
62
50
@pkill godoc || true
Original file line number Diff line number Diff line change 7
7
.PHONY : build-osarch-specific
8
8
build-osarch-specific : darwin/amd64
9
9
10
+
11
+ .PHONY : docker-build-osarch-specific
12
+ docker-build-osarch-specific :
13
+ @docker build \
14
+ --platform linux/amd64 \
15
+ --tag $(DOCKER_IMAGE_NAME ) \
16
+ --tag $(DOCKER_IMAGE_NAME ) :$(BUILD_VERSION ) \
17
+ .
18
+
10
19
# -----------------------------------------------------------------------------
11
20
# Makefile targets supported only by this platform.
12
21
# -----------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ PATH := $(MAKEFILE_DIRECTORY)/bin:/$(HOME)/go/bin:$(PATH)
12
12
# OS specific targets
13
13
# -----------------------------------------------------------------------------
14
14
15
- .PHONY : build-osarch-specific
16
- build-osarch-specific : linux/amd64
17
-
18
-
19
15
.PHONY : clean-osarch-specific
20
16
clean-osarch-specific :
21
17
@docker rm --force $(DOCKER_CONTAINER_NAME ) 2> /dev/null || true
@@ -44,14 +40,6 @@ dependencies-for-development-osarch-specific:
44
40
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH) /bin latest
45
41
46
42
47
- .PHONY : docker-build-osarch-specific
48
- docker-build-osarch-specific :
49
- @$(DOCKER_BUILDKIT ) docker build \
50
- --tag $(DOCKER_IMAGE_NAME ) \
51
- --tag $(DOCKER_IMAGE_NAME ) :$(BUILD_VERSION ) \
52
- .
53
-
54
-
55
43
.PHONY : documentation-osarch-specific
56
44
documentation-osarch-specific :
57
45
@pkill godoc || true
Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ build-osarch-specific: linux/amd64
9
9
@mkdir -p $(TARGET_DIRECTORY ) /linux
10
10
@cp $(TARGET_DIRECTORY ) /linux-amd64/$(PROGRAM_NAME ) $(TARGET_DIRECTORY ) /linux/$(PROGRAM_NAME )
11
11
12
+
13
+ .PHONY : docker-build-osarch-specific
14
+ docker-build-osarch-specific :
15
+ @docker build \
16
+ --platform linux/amd64 \
17
+ --tag $(DOCKER_IMAGE_NAME ) \
18
+ --tag $(DOCKER_IMAGE_NAME ) :$(BUILD_VERSION ) \
19
+ .
20
+
12
21
# -----------------------------------------------------------------------------
13
22
# Makefile targets supported only by this platform.
14
23
# -----------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments