diff --git a/Dockerfile b/Dockerfile index a45bdba..4b94399 100755 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,14 @@ # Stages # ----------------------------------------------------------------------------- -ARG IMAGE_BUILDER=golang:1.23.2-bullseye -ARG IMAGE_FINAL=senzing/senzingapi-runtime-beta:latest +ARG IMAGE_BUILDER=golang:1.23.4-bullseye +ARG IMAGE_FINAL=senzing/senzingsdk-runtime-beta:latest # ----------------------------------------------------------------------------- -# Stage: senzingapi_runtime +# Stage: senzingsdk_runtime # ----------------------------------------------------------------------------- -FROM ${IMAGE_FINAL} AS senzingapi_runtime +FROM ${IMAGE_FINAL} AS senzingsdk_runtime # ----------------------------------------------------------------------------- # Stage: builder @@ -32,8 +32,8 @@ COPY . ${GOPATH}/src/template-go # Copy files from prior stage. -COPY --from=senzingapi_runtime "/opt/senzing/er/lib/" "/opt/senzing/er/lib/" -COPY --from=senzingapi_runtime "/opt/senzing/er/sdk/c/" "/opt/senzing/er/sdk/c/" +COPY --from=senzingsdk_runtime "/opt/senzing/er/lib/" "/opt/senzing/er/lib/" +COPY --from=senzingsdk_runtime "/opt/senzing/er/sdk/c/" "/opt/senzing/er/sdk/c/" # Set path to Senzing libs. diff --git a/README.md b/README.md index 27f6dee..cbcafd9 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ See [main.go] for an example of use. ## References -1. [API documentation] +1. [SDK documentation] 1. [Development] 1. [Errors] 1. [Examples] @@ -56,7 +56,7 @@ See [main.go] for an example of use. 1. Related artifacts: 1. [DockerHub] -[API documentation]: https://pkg.go.dev/github.com/senzing-garage/template-go +[SDK documentation]: https://pkg.go.dev/github.com/senzing-garage/template-go [Development]: docs/development.md [DockerHub]: https://hub.docker.com/r/senzing/template-go [Errors]: docs/errors.md diff --git a/go.mod b/go.mod index 61e41c9..dd040bd 100644 --- a/go.mod +++ b/go.mod @@ -30,9 +30,9 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/subosito/gotenv v1.6.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect - golang.org/x/sys v0.26.0 // indirect - golang.org/x/text v0.19.0 // indirect + golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d // indirect + golang.org/x/sys v0.28.0 // indirect + golang.org/x/text v0.21.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index c752878..2c7ee49 100644 --- a/go.sum +++ b/go.sum @@ -54,12 +54,12 @@ github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8 github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBnqWrJc+rq0DPKyvvdbY= -golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8= -golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= -golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= -golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d h1:0olWaB5pg3+oychR51GUVCEsGkeCU/2JxjBgIo4f3M0= +golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= +golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= +golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= +golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/package.Dockerfile b/package.Dockerfile index bf07714..aefe042 100755 --- a/package.Dockerfile +++ b/package.Dockerfile @@ -2,16 +2,16 @@ # Stages # ----------------------------------------------------------------------------- -ARG IMAGE_SENZINGAPI_RUNTIME=senzing/senzingapi-runtime-beta:latest -ARG IMAGE_BUILDER=golang:1.22.4-bullseye +ARG IMAGE_SENZINGSDK_RUNTIME=senzing/senzingsdk-runtime-beta:latest +ARG IMAGE_BUILDER=golang:1.23.4-bullseye ARG IMAGE_FPM=dockter/fpm:latest ARG IMAGE_FINAL=alpine # ----------------------------------------------------------------------------- -# Stage: senzingapi_runtime +# Stage: senzingsdk_runtime # ----------------------------------------------------------------------------- -FROM ${IMAGE_SENZINGAPI_RUNTIME} AS senzingapi_runtime +FROM ${IMAGE_SENZINGSDK_RUNTIME} AS senzingsdk_runtime # ----------------------------------------------------------------------------- # Stage: builder @@ -37,8 +37,8 @@ COPY . ${GOPATH}/src/${GO_PACKAGE_NAME} # Copy files from prior stage. -COPY --from=senzingapi_runtime "/opt/senzing/er/lib/" "/opt/senzing/er/lib/" -COPY --from=senzingapi_runtime "/opt/senzing/er/sdk/c/" "/opt/senzing/er/sdk/c/" +COPY --from=senzingsdk_runtime "/opt/senzing/er/lib/" "/opt/senzing/er/lib/" +COPY --from=senzingsdk_runtime "/opt/senzing/er/sdk/c/" "/opt/senzing/er/sdk/c/" # Build go program.