1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

Few updates in ci jobs and go.mod/dockerfile (#372)

* update go.mod to 1.20
* clean up and format ci jobs
* update go and alpine images in dockerfile

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
Carlos Tadeu Panato Junior
2023-05-30 23:08:07 +02:00
committed by GitHub
parent 87888e9dbf
commit 926f9f3804
5 changed files with 43 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ RUN yarn install --frozen-lockfile --non-interactive
RUN yarn run build
### Build backend
FROM golang:1.19-alpine3.17 as backend
FROM golang:1.20-alpine3.18 as backend
RUN apk add --no-cache --virtual .build-deps g++ git make
WORKDIR /build
COPY . .
@@ -22,7 +22,7 @@ RUN go build -o inbucket \
-v ./cmd/inbucket
### Run in minimal image
FROM alpine:3.17
FROM alpine:3.18
RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket
RUN mkdir bin defaults ui