Skip to content

Commit

Permalink
update Dockerfile to use matching go version (1.23.1) (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
evlekht authored Sep 29, 2024
1 parent 2b614b5 commit 8185c24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18 AS build-stage
FROM golang:1.23.1-alpine3.20 AS build-stage
RUN apk update && apk upgrade && apk add build-base

WORKDIR /camino-messenger-bot
Expand All @@ -15,7 +15,7 @@ RUN go build -o bot cmd/camino-messenger-bot/main.go


#runtime stage
FROM alpine:3.18 AS runtime-stage
FROM alpine:3.20 AS runtime-stage

RUN apk add --no-cache olm-dev

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.plugin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20-alpine3.18 AS build-stage
FROM golang:1.23.1-alpine3.20 AS build-stage
RUN apk update && apk upgrade && apk add build-base

WORKDIR /camino-messenger-bot
Expand All @@ -9,7 +9,7 @@ RUN go build -o plugin examples/rpc/partner-plugin/server.go


#runtime stage
FROM alpine:3.18 AS runtime-stage
FROM alpine:3.20 AS runtime-stage

WORKDIR /

Expand Down

0 comments on commit 8185c24

Please sign in to comment.