Tibor Vass
05fb3ac3ad
Merge pull request #1897 from tonistiigi/export-config
...
exporter: return config digest when exporting single-arch image
2020-12-14 16:08:11 -08:00
Tonis Tiigi
1098f8ee82
exporter: return config digest when exporting single-arch image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-14 13:26:16 -08:00
Akihiro Suda
b41b9c9e1b
Merge pull request #1895 from tonistiigi/runcworker-test-debug
...
add debug for runcworker test
2020-12-14 14:42:54 +09:00
Tõnis Tiigi
50f6e618fb
Merge pull request #1883 from tonistiigi/images-readme
...
docs: add readme used for registry images
2020-12-13 21:05:55 -08:00
Tonis Tiigi
970e630f1b
add debug for runcworker test
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-13 18:44:54 -08:00
Tonis Tiigi
128b98642a
docs: add readme used for registry images
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-12 01:01:51 -08:00
Tibor Vass
07029de618
Merge pull request #1879 from tonistiigi/foreign-mediatype
...
handle foreign mediatypes on push
2020-12-11 11:48:55 -08:00
Tibor Vass
bea286f94c
Merge pull request #1871 from tonistiigi/scheduler-fix-for-testing
...
solver: fix slow-cache status tracking with preprocess
2020-12-11 11:47:45 -08:00
Tibor Vass
38696bdf1d
Merge pull request #1891 from tonistiigi/flightcontrol-cancel
...
flightcontrol: fix possible invalid cancellation
2020-12-11 02:56:01 -08:00
Tonis Tiigi
e56e7ba46b
flightcontrol: fix possible invalid cancellation
...
There was a race with context getting cancelled and new request
arriving that could resulted new request to receive cancelled result
as well. This happened because lock was held when getting the Done()
channel but it could have been already released by the time returned
channel was closed.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-11 00:57:12 -08:00
Tõnis Tiigi
bf5e780c5e
Merge pull request #1886 from tonistiigi/git-proto-fix
...
fix building from git url without a protocol
2020-12-10 23:04:15 -08:00
Tonis Tiigi
2f247f0340
solver: fix slow-cache status tracking with preprocess
...
Preprocess should not be taken into account when calculating
cache-slow state. But it should be used to detect if dep is complete
so preprocess runs before parent's exec function.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-10 22:57:30 -08:00
Tõnis Tiigi
275dd408ea
Merge pull request #1887 from tonistiigi/discard-delay
...
solver: delay before discarding job
2020-12-10 22:08:10 -08:00
Tibor Vass
fbf8ed15a8
sshutil: allow uppercase usernames (thinking of you thaJeztah)
...
Signed-off-by: Tibor Vass <tibor@docker.com>
2020-12-11 05:19:39 +00:00
Tõnis Tiigi
a3b40362ef
Merge pull request #1889 from tonistiigi/llb-fileop-fix
...
llb: make sure fileop uses the platform for current state
2020-12-10 20:40:27 -08:00
Alex Couture-Beil
201482bba9
Allow for usersnames with hyphens or underscores
...
- usernames could have - or _
- expand testing cases
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
3fa063dcf3
move ssh regexp test to common location
...
- include testing
- improve hostname checking
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
23af9dcb86
require a username for git over ssh
...
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Alex Couture-Beil
b64f992917
Allow any ssh-user while cloning from git
...
- this allows one to use a non-standard ssh username like repo@host
rather than assuming it must be git@host
Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2020-12-10 17:10:38 -08:00
Tonis Tiigi
0e441bedca
llb: make sure fileop uses the platform for current state
...
If source root sets the platform for a state, vertexes should
keep that instead of using the global value passed on marshal.
Already worked properly for exec, but not for file.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-10 12:24:15 -08:00
Akihiro Suda
df9a515214
Merge pull request #1881 from tonistiigi/dockerfile-1.2
...
update Dockerfiles to 1.2
2020-12-10 15:08:03 +09:00
Tonis Tiigi
1b271e0014
solver: delay before discarding job
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-09 20:53:03 -08:00
Tonis Tiigi
a6baa678ea
fix building from git url without a protocol
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-09 18:40:34 -08:00
Tõnis Tiigi
8c7c5269df
Merge pull request #1884 from tonistiigi/dockerfile-docs-update
...
docs: update external dockerfile docs
2020-12-08 22:18:54 -08:00
Tonis Tiigi
9f6172c8bd
docs: update external dockerfile docs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 21:26:18 -08:00
Tonis Tiigi
245e71fd8b
update Dockerfiles to 1.2
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-08 15:00:30 -08:00
Tonis Tiigi
aabdec1778
handle foreign mediatypes on push
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-05 23:16:44 -08:00
Tõnis Tiigi
0af7b1b9c6
Merge pull request #1873 from crazy-max/fix-tagging
...
Fix image tagging
2020-12-05 00:37:53 -08:00
CrazyMax
8098b43022
Merge remote-tracking branch 'upstream/master' into fix-tagging
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 04:48:49 +01:00
CrazyMax
94899e5c91
Merge pull request #1878 from crazy-max/codecov-diff
...
Tweak codecov delta
2020-12-05 03:44:46 +01:00
CrazyMax
495e6b2962
Tweak codecov delta
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-05 02:46:59 +01:00
Tõnis Tiigi
e87988a78f
Merge pull request #1856 from crazy-max/remove-travis
...
Remove travis support
2020-12-04 16:10:19 -08:00
Tibor Vass
950603da21
Merge pull request #1874 from thaJeztah/revert_entrypoint_check
...
Revert "Ensure ENTRYPOINT command has at least one argument"
2020-12-03 11:28:23 -08:00
Sebastiaan van Stijn
4e9bae48e7
Revert "Ensure ENTRYPOINT command has at least one argument"
...
This reverts commit 174bcf85ef
.
This commit attempted to fix a situation where an empty entrypoint
was specified, causing a confusing error when running the image,
however, allowing the entrypoint to be reset should be a valid
use-case, and running such image on docker 20.10 at least
produces an informative error;
docker build -t foo -<<'EOF'
FROM busybox
ENTRYPOINT []
EOF
Or, to reset a previously set entrypoint:
docker build -t foo -<<'EOF'
FROM busybox AS one
ENTRYPOINT ["/bin/busybox"]
FROM one AS two
ENTRYPOINT []
EOF
If no command is specified for the image above:
docker run -it --rm foo
docker: Error response from daemon: No command specified.
See 'docker run --help'.
Passing a command to run:
docker run -it --rm foo sh
/#
Given that this commit resulted in a regression/breaking change
this reverts the commit.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-12-03 13:36:52 +01:00
CrazyMax
2fe7ea156b
Fix image tagging
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-03 09:06:04 +01:00
Tõnis Tiigi
15b978ca89
Merge pull request #1872 from tonistiigi/dockerfile-escape-fix
...
dockerfile: fix escaping in release script
2020-12-02 19:04:41 -08:00
Tonis Tiigi
2df822c610
dockerfile: fix escaping in release script
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 19:02:21 -08:00
Tõnis Tiigi
73fe473613
Merge pull request #1870 from tonistiigi/release-images-fix
...
hack: fix tagging ga releases
2020-12-02 17:36:53 -08:00
Tonis Tiigi
859a14da13
hack: fix tagging ga releases
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 17:34:30 -08:00
Tõnis Tiigi
d5f179bb79
Merge pull request #1863 from tonistiigi/solver-slowcache
...
solver: improve slow cache detection logging
2020-12-02 16:47:35 -08:00
Tonis Tiigi
706129170d
solver: remove scheduler fix
...
Asked in review.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 16:07:13 -08:00
Tõnis Tiigi
c7339917a4
Merge pull request #1869 from tonistiigi/ssh-mount
...
mounts: handle optional ssh mount
2020-12-02 15:40:34 -08:00
Tõnis Tiigi
c626534a73
Merge pull request #1868 from tonistiigi/binfmt-pin
...
dockerfile: pin binfmt image
2020-12-02 14:48:56 -08:00
Tonis Tiigi
f38972a8ec
mounts: handle optional ssh mount
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 14:28:51 -08:00
Tõnis Tiigi
abb3325adf
Merge pull request #1862 from chang-andrew/chang-andrew/main/bk-1119-empty-entrypoint
...
Ensure ENTRYPOINT command has at least one argument
2020-12-02 13:23:39 -08:00
Tonis Tiigi
e50e2c1dba
dockerfile: pin binfmt image
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-02 13:11:09 -08:00
Tonis Tiigi
6a321dc574
solver: improve slow cache detection and add logging
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-12-01 22:38:15 -08:00
Tibor Vass
91efff3cd0
Merge pull request #1860 from tonistiigi/pull-cancel-fix
...
fix invalid cancellation errors on pull
2020-12-01 14:48:21 -08:00
Andrew Chang
174bcf85ef
Ensure ENTRYPOINT command has at least one argument
...
Signed-off-by: Andrew Chang <chang331006@gmail.com>
2020-12-01 15:05:25 -06:00
Tõnis Tiigi
78847133cf
Merge pull request #1861 from AkihiroSuda/improve-rootless-doc-network
...
docs/rootless.md: add instruction for isolating netns
2020-12-01 08:54:29 -08:00