@@ -113,12 +113,9 @@ func (s *ImageSpecStage) PrepareImage(ctx context.Context, _ Conveyor, _ contain
113
113
return nil
114
114
}
115
115
116
- const imageSpecStageCacheVersion = "2"
117
-
118
116
func (s * ImageSpecStage ) GetDependencies (_ context.Context , _ Conveyor , _ container_backend.ContainerBackend , _ , _ * StageImage , _ container_backend.BuildContextArchiver ) (string , error ) {
119
117
var args []string
120
118
121
- args = append (args , imageSpecStageCacheVersion )
122
119
args = append (args , s .imageSpec .Author )
123
120
args = append (args , fmt .Sprint (s .imageSpec .ClearHistory ))
124
121
@@ -133,7 +130,9 @@ func (s *ImageSpecStage) GetDependencies(_ context.Context, _ Conveyor, _ contai
133
130
args = append (args , sortSliceWithNewSlice (s .imageSpec .Expose )... )
134
131
args = append (args , s .imageSpec .User )
135
132
args = append (args , strings .Join (s .imageSpec .Cmd , " " ))
133
+ args = append (args , fmt .Sprint (s .imageSpec .ClearCmd ))
136
134
args = append (args , strings .Join (s .imageSpec .Entrypoint , " " ))
135
+ args = append (args , fmt .Sprint (s .imageSpec .ClearEntrypoint ))
137
136
args = append (args , s .imageSpec .WorkingDir )
138
137
args = append (args , s .imageSpec .StopSignal )
139
138
args = append (args , fmt .Sprint (s .imageSpec .Healthcheck ))
0 commit comments