Skip to content

Commit 471f506

Browse files
authored
Merge pull request #718 from tonistiigi/update-dockerfile-ref
dockerfile: update image refs
2 parents e00566d + 9d3426d commit 471f506

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

frontend/dockerfile/docs/experimental.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ You need to use `docker build` CLI instead of `buildctl` CLI mentioned in this d
99
See [the `docker build` document](https://docs.docker.com/engine/reference/commandline/build/) for the usage.
1010

1111
## Use experimental Dockerfile frontend
12-
The features mentioned in this document are experimentally available as [`docker/dockerfile-upstream:experimental`](https://hub.docker.com/r/docker/dockerfile-upstream/tags/) image.
12+
The features mentioned in this document are experimentally available as [`docker/dockerfile:experimental`](https://hub.docker.com/r/docker/dockerfile/tags/) image.
1313

14-
To use the experimental features, the first line of your Dockerfile needs to be `# syntax=docker/dockerfile-upstream:experimental`.
14+
To use the experimental features, the first line of your Dockerfile needs to be `# syntax=docker/dockerfile:experimental`.
1515
As the experimental syntaxes may change in future revisions, you may want to pin the image to a specific revision.
1616

1717
See also [#528](https://github.com/moby/buildkit/issues/528) for further information about planned `docker/dockerfile` releases.
@@ -44,7 +44,7 @@ This mount type allows the build container to cache directories for compilers an
4444
#### Example: cache Go packages
4545

4646
```dockerfile
47-
# syntax = docker/dockerfile-upstream:experimental
47+
# syntax = docker/dockerfile:experimental
4848
FROM golang
4949
...
5050
RUN --mount=type=cache,target=/root/.cache/go-build go build ...
@@ -53,7 +53,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build go build ...
5353
#### Example: cache apt packages
5454

5555
```dockerfile
56-
# syntax = docker/dockerfile-upstream:experimental
56+
# syntax = docker/dockerfile:experimental
5757
FROM ubuntu
5858
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
5959
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
@@ -83,7 +83,7 @@ This mount type allows the build container to access secure files such as privat
8383
#### Example: access to S3
8484

8585
```dockerfile
86-
# syntax = docker/dockerfile-upstream:experimental
86+
# syntax = docker/dockerfile:experimental
8787
FROM python:3
8888
RUN pip install awscli
8989
RUN --mount=type=secret,id=aws,target=/root/.aws/credentials aws s3 cp s3://... ...
@@ -108,7 +108,7 @@ This mount type allows the build container to access SSH keys via SSH agents, wi
108108
#### Example: access to Gitlab
109109

110110
```dockerfile
111-
# syntax = docker/dockerfile-upstream:experimental
111+
# syntax = docker/dockerfile:experimental
112112
FROM alpine
113113
RUN apk add --no-cache openssh-client
114114
RUN mkdir -p -m 0700 ~/.ssh && ssh-keyscan gitlab.com >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)