Skip to content

Commit

Permalink
Merge pull request #1485 from thaJeztah/bump_golang_1.12.8
Browse files Browse the repository at this point in the history
  • Loading branch information
justincormack authored Oct 17, 2019
2 parents b6b9f01 + 868ccd5 commit 66d40e4
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.12.7
FROM golang:1.12.10

RUN apt-get update && apt-get install -y \
curl \
Expand Down
2 changes: 1 addition & 1 deletion cross.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dockercore/golang-cross:1.11.5
FROM dockercore/golang-cross:1.12.10

RUN apt-get update && apt-get install -y \
curl \
Expand Down
2 changes: 1 addition & 1 deletion escrow.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.11.5-alpine
FROM golang:1.12.10-alpine

ENV NOTARYPKG github.com/theupdateframework/notary

Expand Down
2 changes: 1 addition & 1 deletion migrations/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Database Migrations

This directory contains database migrations for the server and signer. They
are being managed using [this tool](https://github.com/mattes/migrate).
are being managed using [this tool](https://github.com/golang-migrate/migrate).
Within each of the server and signer directories are directories for different
database backends. Notary server and signer use GORM and are therefore
capable of running on a number of different databases, however migrations
Expand Down
6 changes: 3 additions & 3 deletions server.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.11.5-alpine
FROM golang:1.12.10-alpine

RUN apk add --update git gcc libc-dev

# Pin to the specific v3.0.0 version
RUN go get -tags 'mysql postgres file' github.com/mattes/migrate/cli && mv /go/bin/cli /go/bin/migrate
ARG MIGRATE_VER=v4.6.2
RUN GO111MODULE=on go get -tags 'mysql postgres file' github.com/golang-migrate/migrate/v4/cli@${MIGRATE_VER} && mv /go/bin/cli /go/bin/migrate

ENV NOTARYPKG github.com/theupdateframework/notary

Expand Down
7 changes: 4 additions & 3 deletions server.minimal.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM golang:1.11.5-alpine AS build-env
FROM golang:1.12.10-alpine AS build-env
RUN apk add --update git gcc libc-dev
# Pin to the specific v3.0.0 version
RUN go get -tags 'mysql postgres file' github.com/mattes/migrate/cli && mv /go/bin/cli /go/bin/migrate

ARG MIGRATE_VER=v4.6.2
RUN GO111MODULE=on go get -tags 'mysql postgres file' github.com/golang-migrate/migrate/v4/cli@${MIGRATE_VER} && mv /go/bin/cli /go/bin/migrate

ENV NOTARYPKG github.com/theupdateframework/notary

Expand Down
6 changes: 3 additions & 3 deletions signer.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.11.5-alpine
FROM golang:1.12.10-alpine

RUN apk add --update git gcc libc-dev

# Pin to the specific v3.0.0 version
RUN go get -tags 'mysql postgres file' github.com/mattes/migrate/cli && mv /go/bin/cli /go/bin/migrate
ARG MIGRATE_VER=v4.6.2
RUN GO111MODULE=on go get -tags 'mysql postgres file' github.com/golang-migrate/migrate/v4/cli@${MIGRATE_VER} && mv /go/bin/cli /go/bin/migrate

ENV NOTARYPKG github.com/theupdateframework/notary

Expand Down
8 changes: 5 additions & 3 deletions signer.minimal.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM golang:1.11.5-alpine AS build-env
FROM golang:1.12.10-alpine AS build-env
RUN apk add --update git gcc libc-dev
# Pin to the specific v3.0.0 version
RUN go get -tags 'mysql postgres file' github.com/mattes/migrate/cli && mv /go/bin/cli /go/bin/migrate

ARG MIGRATE_VER=v4.6.2
RUN GO111MODULE=on go get -tags 'mysql postgres file' github.com/golang-migrate/migrate/v4/cli@${MIGRATE_VER} && mv /go/bin/cli /go/bin/migrate


ENV NOTARYPKG github.com/theupdateframework/notary

Expand Down

0 comments on commit 66d40e4

Please sign in to comment.