Skip to content

Commit

Permalink
Upgrade docker to Go 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-ward committed Apr 2, 2020
1 parent 1473ef4 commit f2305b5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**/.git
**/node_modules
mbtiles/testdata/*
mbtiles/testdata/*
mbtiles/testdata-bad/*
2 changes: 1 addition & 1 deletion .github/actions/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13-stretch
FROM golang:1.14-stretch

RUN \
apt-get update && \
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Stage 1: compile mbtileserver
FROM golang:1.12.9-alpine
FROM golang:1.14-alpine

WORKDIR /
RUN apk add git build-base
COPY . .

RUN GOOS=linux GO111MODULE=on go build -o /mbtileserver
RUN GOOS=linux go build -o /mbtileserver


# Stage 2: start from a smaller image
FROM alpine:3.10.1
FROM alpine:3.11

WORKDIR /

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ But do not forget to perform it in the end.

## Changes

### 0.6.1

- upgraded Docker containers to Go 1.14

### 0.6

- fixed bug in map preview when bounds are not defined for a tileset (#84)
Expand Down

0 comments on commit f2305b5

Please sign in to comment.