File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
1818RUN 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
2323ADD build.sh /usr/bin
2424RUN 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
3535RUN touch /tmp/built
3636----
3737
You can’t perform that action at this time.
0 commit comments