diff --git a/Makefile b/Makefile index d2ad5c832..84d27866e 100644 --- a/Makefile +++ b/Makefile @@ -102,7 +102,7 @@ PREPARE_VERSION_NAME=versions #versions REGISTRYVERSION=v2.7.1-patch-2819-2553-redis NOTARYVERSION=v0.6.1 -NOTARYMIGRATEVERSION=v3.5.4 +NOTARYMIGRATEVERSION=v4.11.0 TRIVYVERSION=v0.14.0 TRIVYADAPTERVERSION=v0.17.0 diff --git a/make/photon/notary/binary.Dockerfile b/make/photon/notary/binary.Dockerfile index ce991ebf5..47f021e64 100644 --- a/make/photon/notary/binary.Dockerfile +++ b/make/photon/notary/binary.Dockerfile @@ -20,10 +20,7 @@ RUN cp -r /go/src/${NOTARYPKG}/migrations/ / RUN git clone -b $MIGRATE_VERSION https://github.com/golang-migrate/migrate /go/src/${MIGRATEPKG} WORKDIR /go/src/${MIGRATEPKG} -RUN curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 && chmod +x /usr/local/bin/dep -RUN dep ensure -vendor-only - -ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb clickhouse" +ENV DATABASES="postgres mysql redshift cassandra spanner cockroachdb" ENV SOURCES="file go_bindata github aws_s3 google_cloud_storage" RUN go install -tags "$DATABASES $SOURCES" -ldflags="-X main.Version=${MIGRATE_VERSION}" ${MIGRATEPKG}/cli && mv /go/bin/cli /go/bin/migrate