Skip to content

Commit 70b5ff0

Browse files
committed
Bug 1939230 - "Custom image builds with Buildah" instructions incorrect
1 parent 0540458 commit 70b5ff0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/builds-create-custom-build-artifacts.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ You must create the image you want to use as your custom build image.
1010

1111
.Procedure
1212

13-
. Starting with an empty directory, create a file named `dockerfile` with the following content:
13+
. Starting with an empty directory, create a file named `Dockerfile` with the following content:
1414
+
1515
[source,terminal]
1616
----
17-
FROM docker.io/centos:7
17+
FROM registry.centos.org/centos:7
1818
RUN yum install -y buildah
1919
# In this example, `/tmp/build` contains the inputs that build when this
2020
# custom builder image is run. Normally the custom builder image fetches
2121
# this content from some location at build time, by using git clone as an example.
22-
ADD dockerfile.sample /tmp/input/dockerfile
22+
ADD dockerfile.sample /tmp/input/Dockerfile
2323
ADD build.sh /usr/bin
2424
RUN chmod a+x /usr/bin/build.sh
2525
# /usr/bin/build.sh contains the actual custom build logic that will be run when
@@ -31,7 +31,7 @@ ENTRYPOINT ["/usr/bin/build.sh"]
3131
+
3232
[source,terminal]
3333
----
34-
FROM docker.io/centos:7
34+
FROM registry.centos.org/centos:7
3535
RUN touch /tmp/built
3636
----
3737

0 commit comments

Comments
 (0)