Skip to content

Commit

Permalink
Use explicit parent versions for base images
Browse files Browse the repository at this point in the history
  • Loading branch information
ray-milkey committed Feb 1, 2021
1 parent a41bfe3 commit 4098d80
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.7.4-dev
0.7.5
4 changes: 1 addition & 3 deletions build/base/Dockerfile
@@ -1,6 +1,4 @@
ARG ONOS_BUILD_VERSION=undefined

FROM onosproject/golang-build:$ONOS_BUILD_VERSION
FROM onosproject/golang-build:v0.6.3

ENV GO111MODULE=on
ARG ONOS_MAKE_TARGET=build
Expand Down
2 changes: 1 addition & 1 deletion build/onos-config/Dockerfile
@@ -1,7 +1,7 @@
ARG ONOS_CONFIG_BASE_VERSION=latest

# The base image contains the onos-config binaries
FROM onosproject/onos-config-base:$ONOS_CONFIG_BASE_VERSION as base
FROM onosproject/onos-config-base:v0.6.3 as base

FROM alpine:3.11
RUN apk add libc6-compat
Expand Down
4 changes: 4 additions & 0 deletions go.mod
Expand Up @@ -3,17 +3,20 @@ module github.com/onosproject/onos-config
go 1.14

require (
cloud.google.com/go v0.43.0 // indirect
github.com/Pallinder/go-randomdata v1.2.0
github.com/atomix/go-client v0.4.1
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/docker/docker v1.13.1 // indirect
github.com/gogo/protobuf v1.3.1
github.com/golang/mock v1.4.4
github.com/golang/protobuf v1.4.3
github.com/google/pprof v0.0.0-20190723021845-34ac40c74b70 // indirect
github.com/google/uuid v1.1.2
github.com/googleapis/gnostic v0.3.0 // indirect
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
github.com/kr/pty v1.1.8 // indirect
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/onosproject/config-models/modelplugin/devicesim-1.0.0 v0.0.0-20201130213019-492043aed0df
Expand All @@ -33,6 +36,7 @@ require (
github.com/spf13/viper v1.6.2 // indirect
github.com/stretchr/testify v1.5.1
go.uber.org/multierr v1.4.0 // indirect
golang.org/x/mobile v0.0.0-20190806162312-597adff16ade // indirect
golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375 // indirect
google.golang.org/grpc v1.33.2
gopkg.in/yaml.v2 v2.2.8
Expand Down

0 comments on commit 4098d80

Please sign in to comment.