Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update container example to use Go 1.21 #69

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openshift-app-sample/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15 as builder
FROM golang:1.21.1 as builder
ENV APP_HOME /go/src/openshift-app-sample
RUN mkdir -p /opt/mqm \
&& chmod a+rx /opt/mqm
Expand All @@ -22,7 +22,7 @@
COPY src/ .
RUN go build -o openshift-app-sample

FROM golang:1.15
FROM golang:1.21.1
ENV APP_HOME /go/src/openshift-app-sample
# Create the directories the client expects to be present
RUN mkdir -p $APP_HOME \
Expand Down
6 changes: 4 additions & 2 deletions openshift-app-sample/src/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/ibm-messaging/mq-golang-jms20/openshift-app-sample/src

go 1.13
go 1.21

require github.com/ibm-messaging/mq-golang-jms20 v1.3.0
require github.com/ibm-messaging/mq-golang-jms20 v1.11.0

require github.com/ibm-messaging/mq-golang/v5 v5.6.0 // indirect
14 changes: 4 additions & 10 deletions openshift-app-sample/src/go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/ibm-messaging/mq-golang-jms20 v1.3.0 h1:tcO7+kdJ1UAkll8gMLwV+bOS8iiapYVaMvdtN4hUB0s=
github.com/ibm-messaging/mq-golang-jms20 v1.3.0/go.mod h1:/n2YVhPy7J4o5zoPSqEGnCv9yPYi6Od51/f8gAxkHRc=
github.com/ibm-messaging/mq-golang/v5 v5.1.3 h1:B1Xfk1jMulmDfPf3jH2Dh9nnyEkaqfI1FvTHt4pFza4=
github.com/ibm-messaging/mq-golang/v5 v5.1.3/go.mod h1:ywCwmYbJOU/E0rl+z4GiNoxVMty68O+LVO39a1VMXrE=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
github.com/ibm-messaging/mq-golang-jms20 v1.11.0 h1:cNkttNYSs42QzG1TLZt+bYGleqKET9bATJkAQzyaSdQ=
github.com/ibm-messaging/mq-golang-jms20 v1.11.0/go.mod h1:oyyrK++j5yVGOFEcDMrOKZ4tcJ+qTKTQ8a9xy/D0saE=
github.com/ibm-messaging/mq-golang/v5 v5.6.0 h1:EvK6eEUzFu7E7R/jyoSr6cQFtWj8GsjAUzpaO936kjI=
github.com/ibm-messaging/mq-golang/v5 v5.6.0/go.mod h1:xCV0vl1+ik3VyWZnwAj++2J89vSTzhXP1gXhG0X3IYE=