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

Bump Go version to 1.16 (#202)

* bump go version
* Docker: bump go/alpine version
This commit is contained in:
James Hillyerd
2021-05-01 14:16:59 -07:00
committed by GitHub
parent 649e3743e0
commit 66dec49a49
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.15 go-version: 1.16
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:

View File

@@ -1,7 +1,7 @@
# Docker build file for Inbucket: https://www.inbucket.org/ # Docker build file for Inbucket: https://www.inbucket.org/
# Install build-time dependencies # Install build-time dependencies
FROM golang:1.15-alpine3.12 as builder FROM golang:1.16-alpine3.13 as builder
RUN apk add --no-cache --virtual .build-deps g++ git make npm python3 RUN apk add --no-cache --virtual .build-deps g++ git make npm python3
WORKDIR /build WORKDIR /build
COPY . . COPY . .
@@ -24,7 +24,7 @@ WORKDIR /build/ui
RUN npm run build RUN npm run build
# Run in minimal image # Run in minimal image
FROM alpine:3.12 FROM alpine:3.13
RUN apk --no-cache add tzdata RUN apk --no-cache add tzdata
WORKDIR /opt/inbucket WORKDIR /opt/inbucket
RUN mkdir bin defaults ui RUN mkdir bin defaults ui