1
0
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:
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

@@ -13,6 +13,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed ### Changed
- Updated JavaScript dependencies. - Updated JavaScript dependencies.
- Updated Go 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] ## [v3.0.0-beta1]

View File

@@ -1,7 +1,7 @@
# Docker build file for Inbucket: https://www.inbucket.org/ # Docker build file for Inbucket: https://www.inbucket.org/
# Build # 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 RUN apk add --no-cache --virtual .build-deps git make npm
WORKDIR /build WORKDIR /build
COPY . . COPY . .
@@ -16,7 +16,7 @@ RUN npm i
RUN npm run build RUN npm run build
# Run in minimal image # Run in minimal image
FROM alpine:3.8 FROM alpine:3.10
WORKDIR /opt/inbucket WORKDIR /opt/inbucket
RUN mkdir bin defaults ui RUN mkdir bin defaults ui
COPY --from=builder /build/inbucket bin COPY --from=builder /build/inbucket bin