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

Build with Go 1.19 (#305)

Also adds `:edge` tag to dev docker-run.sh script
This commit is contained in:
James Hillyerd
2023-01-12 20:19:40 -08:00
committed by GitHub
parent e875a4c382
commit 61454a0c9c
4 changed files with 5 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ RUN yarn install --frozen-lockfile --non-interactive
RUN yarn run build
### Build backend
FROM golang:1.18-alpine3.16 as backend
FROM golang:1.19-alpine3.17 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.16
FROM alpine:3.17
RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket
RUN mkdir bin defaults ui