mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
docker: go 1.11 -> 1.12, alpine linux 3.8 -> 3.10
This commit is contained in:
@@ -13,6 +13,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
### Changed
|
||||
- Updated JavaScript dependencies.
|
||||
- Updated Go dependencies.
|
||||
- Updated Docker build: Go to 1.12, and Alpine Linux to 3.10
|
||||
|
||||
### Fixed
|
||||
- URLs to view/download attachments from REST API, #138
|
||||
|
||||
|
||||
## [v3.0.0-beta1]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user