1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/dockerfile
Eng Zer Jun 7873c27cfb
all: replace strings.Replace with strings.ReplaceAll
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-09 19:45:40 +08:00
..
buildargs.go builder/dockerfile: add "ALL_PROXY" to list of default build args 2021-04-24 18:25:16 +02:00
buildargs_test.go builder/dockerfile: add "ALL_PROXY" to list of default build args 2021-04-24 18:25:16 +02:00
builder.go Merge pull request #43369 from sestegra/stop 2022-03-26 14:40:32 +01:00
builder_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
builder_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
containerbackend.go daemon: daemon.ContainerKill() accept stop-signal as string 2022-05-05 11:27:47 +02:00
copy.go pkg/urlutil: deprecate, and move to builder/remotecontext/urlutil 2022-04-12 19:58:05 +02:00
copy_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
copy_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
copy_windows.go builder/dockerfile: make normalizeDest() platform-specific again 2021-07-27 23:14:40 +02:00
dispatchers.go vendor buildkit v0.10.0 2022-03-22 18:51:27 +01:00
dispatchers_test.go update uses of container.ContainerCreateCreatedBody to CreateResponse 2022-04-28 22:39:20 +02:00
dispatchers_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
dispatchers_unix_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
dispatchers_windows.go all: replace strings.Replace with strings.ReplaceAll 2022-05-09 19:45:40 +08:00
dispatchers_windows_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
evaluator.go builder/dockerfile: remove leftover LCOW platform checks 2022-01-25 15:23:11 +01:00
evaluator_test.go revendor BuildKit (master branch) 2021-06-16 01:17:48 +02:00
imagecontext.go Add variant to image.Image and legacy builder 2019-09-24 22:18:16 +00:00
imagecontext_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
imageprobe.go Add canonical import comment 2018-02-05 16:51:57 -05:00
internals.go Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
internals_linux.go Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
internals_linux_test.go Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
internals_test.go builder/remotecontext: use lowercase for error 2020-08-11 10:46:18 +02:00
internals_windows.go Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
internals_windows_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
mockbackend_test.go daemon: daemon.ContainerKill() accept stop-signal as string 2022-05-05 11:27:47 +02:00
utils_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00