Skip to content

Commit

Permalink
#19 Fix build issue (#25)
Browse files Browse the repository at this point in the history
* #19 Fix build issue

* #19 Fix build issue
  • Loading branch information
docktermj authored Feb 8, 2024
1 parent 06df224 commit 1370466
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ jobs:
with:
image-repository: senzing/${{ steps.repo-basename.outputs.repo }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
platforms: linux/amd64
username: ${{ secrets.DOCKERHUB_USERNAME }}
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FROM ${IMAGE_GO_BUILDER} as go_builder
ENV REFRESHED_AT=2024-02-07
LABEL Name="senzing/demo-quickstart-builder" \
Maintainer="support@senzing.com" \
Version="0.0.1"
Version="0.0.4"

# Copy local files from the Git repository.

Expand Down Expand Up @@ -55,10 +55,13 @@ LABEL Name="senzing/demo-quickstart" \
Maintainer="support@senzing.com" \
Version="0.0.1"

# Copy files from prior stage.
# Copy local files from the Git repository.

COPY ./rootfs /
COPY --from=go_builder "/output/linux-amd64/demo-quickstart" "/app/demo-quickstart"

# Copy files from prior stage.

COPY --from=go_builder "/output/linux/demo-quickstart" "/app/demo-quickstart"

# Install packages via apt.

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ GO_ARCH = $(word 2, $(GO_OSARCH))
# Can be overridden with "export"
# Example: "export LD_LIBRARY_PATH=/path/to/my/senzing/g2/lib"

LD_LIBRARY_PATH ?= /opt/senzing/g2/lib

# Export environment variables.

.EXPORT_ALL_VARIABLES:
Expand Down Expand Up @@ -82,6 +80,7 @@ $(PLATFORMS):
.PHONY: build
build: build-osarch-specific


.PHONY: docker-build
docker-build:
@docker build \
Expand Down

0 comments on commit 1370466

Please sign in to comment.