Skip to content

Commit

Permalink
feat(docker): adds dependencies between images
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfhc committed Mar 28, 2022
1 parent bf2f8f3 commit 73e2072
Show file tree
Hide file tree
Showing 11 changed files with 90 additions and 707 deletions.
3 changes: 3 additions & 0 deletions examples/example_05/bob-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM ubuntu:latest

RUN apt-get update && apt-get upgrade -y
10 changes: 10 additions & 0 deletions examples/example_05/bob.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
images:
- name: from-bob
registry: vitorfhc
context: ./from-bob-image
needs:
- bob
- id: bob
name: bob
registry: vitorfhc
context: ./bob-image
1 change: 1 addition & 0 deletions examples/example_05/from-bob-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM vitorfhc/bob:latest
31 changes: 13 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@ module github.com/vitorfhc/bob
go 1.18

require (
github.com/docker/docker v20.10.12+incompatible
github.com/samber/lo v1.11.0
github.com/docker/docker v20.10.14+incompatible
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.10.1
github.com/stretchr/testify v1.7.1
)

require (
github.com/Microsoft/go-winio v0.5.1 // indirect
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/Microsoft/hcsshim v0.9.2 // indirect
github.com/containerd/cgroups v1.0.3 // indirect
github.com/containerd/containerd v1.6.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/distribution v2.8.0+incompatible // indirect
github.com/containerd/containerd v1.6.2 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
Expand All @@ -26,7 +23,7 @@ require (
github.com/golang/protobuf v1.5.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/moby/sys/mount v0.3.1 // indirect
github.com/moby/sys/mountinfo v0.6.0 // indirect
Expand All @@ -35,21 +32,19 @@ require (
github.com/opencontainers/runc v1.1.0 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/afero v1.8.2 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.7.1 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/exp v0.0.0-20220325121720-054d8573a5d8 // indirect
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect
golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect
google.golang.org/grpc v1.43.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/ini.v1 v1.66.2 // indirect
google.golang.org/genproto v0.0.0-20220328150716-24ca77f39d1f // indirect
google.golang.org/grpc v1.45.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
318 changes: 40 additions & 278 deletions go.sum

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions pkg/deps/deps.go

This file was deleted.

44 changes: 0 additions & 44 deletions pkg/deps/graphite/algorithms.go

This file was deleted.

51 changes: 0 additions & 51 deletions pkg/deps/graphite/algorithms_test.go

This file was deleted.

115 changes: 0 additions & 115 deletions pkg/deps/graphite/graph.go

This file was deleted.

Loading

0 comments on commit 73e2072

Please sign in to comment.