Skip to content

Commit

Permalink
#152 Savepoint
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Jul 12, 2024
1 parent bad668e commit 00c6ce7
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ target/

cover.out
coverage.html
coverage.out
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------------------------------------------------------------------------

ARG IMAGE_GO_BUILDER=golang:1.22.3-bullseye
ARG IMAGE_FINAL=senzing/senzingapi-runtime:3.10.1
ARG IMAGE_FINAL=senzing/senzingapi-runtime-staging:latest

# -----------------------------------------------------------------------------
# Stage: senzingapi_runtime
Expand All @@ -16,7 +16,7 @@ FROM ${IMAGE_FINAL} as senzingapi_runtime
# -----------------------------------------------------------------------------

FROM ${IMAGE_GO_BUILDER} as go_builder
ENV REFRESHED_AT=2024-06-01
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/template-go-builder" \
Maintainer="support@senzing.com" \
Version="0.0.1"
Expand Down Expand Up @@ -50,12 +50,11 @@ RUN mkdir -p /output \
# -----------------------------------------------------------------------------

FROM ${IMAGE_FINAL} as final
ENV REFRESHED_AT=2024-06-01
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/template-go" \
Maintainer="support@senzing.com" \
Version="0.0.1"
HEALTHCHECK CMD ["/app/healthcheck.sh"]

USER root

# Copy local files from the Git repository.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ GO_ARCH = $(word 2, $(GO_OSARCH))
# Conditional assignment. ('?=')
# Can be overridden with "export"

LD_LIBRARY_PATH ?= /opt/senzing/g2/lib
GOBIN ?= $(shell go env GOPATH)/bin
LD_LIBRARY_PATH ?= /opt/senzing/g2/lib

# Export environment variables.

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Placeholder for [GitHub pages](https://pages.github.com/).

See [https://hub.senzing.com/template-go](https://hub.senzing.com/template-go).
See [https://garage.senzing.com/template-go](https://garage.senzing.com/template-go).
1 change: 1 addition & 0 deletions makefiles/darwin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ clean-osarch-specific:
@docker rmi --force $(DOCKER_IMAGE_NAME) $(DOCKER_BUILD_IMAGE_NAME) 2> /dev/null || true
@rm -f $(GOPATH)/bin/$(PROGRAM_NAME) || true
@rm -f $(MAKEFILE_DIRECTORY)/coverage.html || true
@rm -f $(MAKEFILE_DIRECTORY)/coverage.out || true
@rm -f $(MAKEFILE_DIRECTORY)/cover.out || true
@rm -fr $(TARGET_DIRECTORY) || true
@rm -fr /tmp/sqlite || true
Expand Down
1 change: 1 addition & 0 deletions makefiles/linux.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ clean-osarch-specific:
@docker rmi --force $(DOCKER_IMAGE_NAME) $(DOCKER_BUILD_IMAGE_NAME) 2> /dev/null || true
@rm -f $(GOPATH)/bin/$(PROGRAM_NAME) || true
@rm -f $(MAKEFILE_DIRECTORY)/coverage.html || true
@rm -f $(MAKEFILE_DIRECTORY)/coverage.out || true
@rm -f $(MAKEFILE_DIRECTORY)/cover.out || true
@rm -fr $(TARGET_DIRECTORY) || true
@rm -fr /tmp/sqlite || true
Expand Down
1 change: 1 addition & 0 deletions makefiles/windows.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ build-osarch-specific: windows/amd64
clean-osarch-specific:
del /F /S /Q $(GOPATH)/bin/$(PROGRAM_NAME)
del /F /S /Q $(MAKEFILE_DIRECTORY)/coverage.html
del /F /S /Q $(MAKEFILE_DIRECTORY)/coverage.out
del /F /S /Q $(MAKEFILE_DIRECTORY)/cover.out
del /F /S /Q $(TARGET_DIRECTORY)
del /F /S /Q C:\Temp\sqlite
Expand Down
2 changes: 1 addition & 1 deletion package.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ RUN fpm \
# -----------------------------------------------------------------------------

FROM ${IMAGE_FINAL} as final
ENV REFRESHED_AT=2024-06-01
ENV REFRESHED_AT=2024-07-01
LABEL Name="senzing/template-go" \
Maintainer="support@senzing.com" \
Version="0.0.1"
Expand Down

0 comments on commit 00c6ce7

Please sign in to comment.