dockerfile: update run mounts to stable channel
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>v0.8
parent
78f3e86dc1
commit
906e34510d
|
@ -6,8 +6,8 @@ run:
|
|||
modules-download-mode: vendor
|
||||
|
||||
build-tags:
|
||||
- dfrunmount
|
||||
- dfssh
|
||||
- dfrunsecurity
|
||||
- dfrunnetwork
|
||||
|
||||
linters:
|
||||
enable:
|
||||
|
@ -29,4 +29,4 @@ issues:
|
|||
exclude-rules:
|
||||
- linters:
|
||||
- golint
|
||||
text: "stutters"
|
||||
text: "stutters"
|
||||
|
|
|
@ -108,7 +108,7 @@ case $TYP in
|
|||
;;
|
||||
"daily")
|
||||
if [ -z $DAILY_TARGETS ]; then
|
||||
DAILY_TARGETS="mounts secrets ssh"
|
||||
# DAILY_TARGETS=""
|
||||
fi
|
||||
|
||||
for TAG in $DAILY_TARGETS; do
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
// +build !dfrunmount
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
import (
|
||||
"github.com/moby/buildkit/client/llb"
|
||||
"github.com/moby/buildkit/frontend/dockerfile/instructions"
|
||||
)
|
||||
|
||||
func detectRunMount(cmd *command, allDispatchStates *dispatchStates) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func dispatchRunMounts(d *dispatchState, c *instructions.RunCommand, sources []*dispatchState, opt dispatchOpt) ([]llb.RunOption, error) {
|
||||
return nil, nil
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
// +build dfrunmount,!dfsecrets
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
import (
|
||||
"github.com/moby/buildkit/client/llb"
|
||||
"github.com/moby/buildkit/frontend/dockerfile/instructions"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
func dispatchSecret(m *instructions.Mount) (llb.RunOption, error) {
|
||||
return nil, errors.Errorf("secret mounts not allowed")
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
// +build dfrunmount,!dfssh
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
import (
|
||||
"github.com/moby/buildkit/client/llb"
|
||||
"github.com/moby/buildkit/frontend/dockerfile/instructions"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
func dispatchSSH(m *instructions.Mount) (llb.RunOption, error) {
|
||||
return nil, errors.Errorf("ssh mounts not allowed")
|
||||
}
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfrunmount
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfsecrets
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfssh
|
||||
|
||||
package dockerfile2llb
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfrunmount
|
||||
|
||||
package dockerfile
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfsecrets
|
||||
|
||||
package dockerfile
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfssh
|
||||
|
||||
package dockerfile
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
// +build !dfsecrets
|
||||
|
||||
package instructions
|
||||
|
||||
func isSecretMountsSupported() bool {
|
||||
return false
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
// +build !dfssh
|
||||
|
||||
package instructions
|
||||
|
||||
func isSSHMountsSupported() bool {
|
||||
return false
|
||||
}
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfrunmount
|
||||
|
||||
package instructions
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfsecrets
|
||||
|
||||
package instructions
|
||||
|
||||
func isSecretMountsSupported() bool {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// +build dfssh
|
||||
|
||||
package instructions
|
||||
|
||||
func isSSHMountsSupported() bool {
|
||||
|
|
|
@ -1 +1 @@
|
|||
dfrunmount dfrunsecurity dfsecrets dfssh dfrunnetwork
|
||||
dfrunsecurity dfrunnetwork
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
dfrunmount
|
|
@ -1 +0,0 @@
|
|||
dfrunmount dfsecrets
|
|
@ -1 +0,0 @@
|
|||
dfrunmount dfssh
|
Loading…
Reference in New Issue