Fix layer ordering
This commit is contained in:
parent
7f0d9572e3
commit
89d3dd7d0c
@ -1 +1 @@
|
|||||||
Subproject commit d14fba7ec1759bb9a9a45369d155a9937dbdbecd
|
Subproject commit 171aa760438326240ece7f034ad5b39a89a4fa74
|
@ -92,7 +92,7 @@ class Builder:
|
|||||||
layer_path = self.get_layer_path(name)
|
layer_path = self.get_layer_path(name)
|
||||||
if not os.path.exists(layer_path):
|
if not os.path.exists(layer_path):
|
||||||
raise ImageNotFoundError(layer_path)
|
raise ImageNotFoundError(layer_path)
|
||||||
self.image.conf['layers'].insert(0, name)
|
self.image.conf['layers'].insert(-1, name)
|
||||||
|
|
||||||
def fix_layer(self, cmd):
|
def fix_layer(self, cmd):
|
||||||
layers = [self.get_layer_path(layer) for layer in self.image.conf['layers']]
|
layers = [self.get_layer_path(layer) for layer in self.image.conf['layers']]
|
||||||
|
Loading…
Reference in New Issue
Block a user