From f58f341da0f86fe2cb3dcc54dc1994b46711bb64 Mon Sep 17 00:00:00 2001
From: Sora Morimoto <sora@morimoto.io>
Date: Mon, 12 Feb 2024 22:32:21 +0900
Subject: [PATCH 1/2] Update `PG_VERSION` to 15.5

Signed-off-by: Sora Morimoto <sora@morimoto.io>
---
 Dockerfile             | 2 +-
 Dockerfile-timescaledb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 4526b8a9..fca50457 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG PG_VERSION=15.3
+ARG PG_VERSION=15.5
 ARG PG_MAJOR_VERSION=15
 ARG VERSION=custom
 
diff --git a/Dockerfile-timescaledb b/Dockerfile-timescaledb
index c6e56733..1e3d09c2 100644
--- a/Dockerfile-timescaledb
+++ b/Dockerfile-timescaledb
@@ -1,4 +1,4 @@
-ARG PG_VERSION=15.3
+ARG PG_VERSION=15.5
 ARG PG_MAJOR_VERSION=15
 ARG VERSION=custom
 

From a519a2a956a44c5c1597f58661a5a359c96fae8f Mon Sep 17 00:00:00 2001
From: Sora Morimoto <sora@morimoto.io>
Date: Mon, 12 Feb 2024 22:32:42 +0900
Subject: [PATCH 2/2] Update go to 1.21

Signed-off-by: Sora Morimoto <sora@morimoto.io>
---
 Dockerfile             | 2 +-
 Dockerfile-timescaledb | 2 +-
 go.mod                 | 2 +-
 go.sum                 | 2 --
 4 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index fca50457..5952a369 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ ARG PG_VERSION=15.5
 ARG PG_MAJOR_VERSION=15
 ARG VERSION=custom
 
-FROM golang:1.20
+FROM golang:1.21
 
 WORKDIR /go/src/github.com/fly-apps/fly-postgres
 COPY . .
diff --git a/Dockerfile-timescaledb b/Dockerfile-timescaledb
index 1e3d09c2..c993a093 100644
--- a/Dockerfile-timescaledb
+++ b/Dockerfile-timescaledb
@@ -2,7 +2,7 @@ ARG PG_VERSION=15.5
 ARG PG_MAJOR_VERSION=15
 ARG VERSION=custom
 
-FROM golang:1.20
+FROM golang:1.21
 
 WORKDIR /go/src/github.com/fly-apps/fly-postgres
 COPY . .
diff --git a/go.mod b/go.mod
index 9950a95f..a77e7242 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module github.com/fly-apps/postgres-flex
 
-go 1.20
+go 1.21
 
 require (
 	github.com/go-chi/chi/v5 v5.0.8
diff --git a/go.sum b/go.sum
index ed01bc1d..5f1917ac 100644
--- a/go.sum
+++ b/go.sum
@@ -175,8 +175,6 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
 github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
 github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
 github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
-github.com/superfly/fly-checks v0.0.0-20221220181621-bcbf6f4dc6d7 h1:8ArRtJEctfn5pmPfSpbFs6BQruhdF1QUiqXXOV09eEU=
-github.com/superfly/fly-checks v0.0.0-20221220181621-bcbf6f4dc6d7/go.mod h1:BbqpB4y6Z/cijQqKWJ3i8LMsAoC29gzX6vsSD3Qq7uw=
 github.com/superfly/fly-checks v0.0.0-20230510154016-d189351293f2 h1:mZNiJSrmbQA/3+Vy8GLL/Q9qdHxPzjcxKv+E14GZLFs=
 github.com/superfly/fly-checks v0.0.0-20230510154016-d189351293f2/go.mod h1:BbqpB4y6Z/cijQqKWJ3i8LMsAoC29gzX6vsSD3Qq7uw=
 github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q=