From 66dec49a490b346d46b3b1b40880cba0d3a6365c Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Sat, 1 May 2021 14:16:59 -0700 Subject: [PATCH] Bump Go version to 1.16 (#202) * bump go version * Docker: bump go/alpine version --- .github/workflows/release.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85032c8..e6cc9c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.16 - name: Setup Node.js uses: actions/setup-node@v1 with: diff --git a/Dockerfile b/Dockerfile index 90762d9..f90fa4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Docker build file for Inbucket: https://www.inbucket.org/ # 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 WORKDIR /build COPY . . @@ -24,7 +24,7 @@ WORKDIR /build/ui RUN npm run build # Run in minimal image -FROM alpine:3.12 +FROM alpine:3.13 RUN apk --no-cache add tzdata WORKDIR /opt/inbucket RUN mkdir bin defaults ui