Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
po3rin committed Jun 15, 2019
1 parent 2a5598f commit 8f31009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dockerfile2llb/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ func dispatch(d *dispatchState, cmd command, opt dispatchOpt) error {
err = dispatchUser(d, c, true)
case *instructions.VolumeCommand:
err = dispatchVolume(d, c)
// WARN: wabassembly can not use signal package...
// case *instructions.StopSignalCommand:
// err = dispatchStopSignal(d, c)
case *instructions.ShellCommand:
Expand Down Expand Up @@ -971,6 +972,7 @@ func dispatchVolume(d *dispatchState, c *instructions.VolumeCommand) error {
return commitToHistory(&d.image, fmt.Sprintf("VOLUME %v", c.Volumes), false, nil)
}

// WARN: wabassembly can not use signal package...
// func dispatchStopSignal(d *dispatchState, c *instructions.StopSignalCommand) error {
// if _, err := signal.ParseSignal(c.Signal); err != nil {
// return err
Expand Down

0 comments on commit 8f31009

Please sign in to comment.