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

docker: go 1.11 -> 1.12, alpine linux 3.8 -> 3.10

This commit is contained in:
James Hillyerd
2019-08-17 12:43:58 -07:00
parent a73ffeabd3
commit e359c0b030
2 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# Docker build file for Inbucket: https://www.inbucket.org/
# Build
FROM golang:1.11-alpine3.8 as builder
FROM golang:1.12-alpine3.10 as builder
RUN apk add --no-cache --virtual .build-deps git make npm
WORKDIR /build
COPY . .
@@ -16,7 +16,7 @@ RUN npm i
RUN npm run build
# Run in minimal image
FROM alpine:3.8
FROM alpine:3.10
WORKDIR /opt/inbucket
RUN mkdir bin defaults ui
COPY --from=builder /build/inbucket bin