浏览代码

all: fix typos

Signed-off-by: cuishuang <imcusg@gmail.com>
cuishuang 3 年之前
父节点
当前提交
9efa8b3500
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      Dockerfile
  2. 1 1
      contrib/download-frozen-image-v2.sh
  3. 1 1
      contrib/mkimage-yum.sh

+ 2 - 2
Dockerfile

@@ -36,7 +36,7 @@ WORKDIR /go/src/github.com/docker/distribution
 # the version specified here should match a current release.
 ARG REGISTRY_VERSION=v2.3.0
 
-# REGISTRY_VERSION_SCHEMA1 specifies the version of the regsitry to build and
+# REGISTRY_VERSION_SCHEMA1 specifies the version of the registry to build and
 # install from the https://github.com/docker/distribution repository. This is
 # an older (pre v2.3.0) version of the registry that only supports schema1
 # manifests. This version of the registry is not working on arm64, so installation
@@ -131,7 +131,7 @@ RUN --mount=type=cache,sharing=locked,id=moby-cross-false-aptlib,target=/var/lib
 FROM --platform=linux/amd64 runtime-dev-cross-false AS runtime-dev-cross-true
 ARG DEBIAN_FRONTEND
 # These crossbuild packages rely on gcc-<arch>, but this doesn't want to install
-# on non-amd64 systems, so other architectures cannnot crossbuild amd64.
+# on non-amd64 systems, so other architectures cannot crossbuild amd64.
 RUN --mount=type=cache,sharing=locked,id=moby-cross-true-aptlib,target=/var/lib/apt \
     --mount=type=cache,sharing=locked,id=moby-cross-true-aptcache,target=/var/cache/apt \
         apt-get update && apt-get install -y --no-install-recommends \

+ 1 - 1
contrib/download-frozen-image-v2.sh

@@ -245,7 +245,7 @@ get_target_arch() {
 				;;
 			mips*)
 				echo >&2 "I see you are running on mips but I don't know how to determine endianness yet, so I cannot select a correct arch to fetch."
-				echo >&2 "Consider installing \"go\" on the system which I can use to determine the correct arch or specify it explictly by setting TARGETARCH"
+				echo >&2 "Consider installing \"go\" on the system which I can use to determine the correct arch or specify it explicitly by setting TARGETARCH"
 				exit 1
 				;;
 			*)

+ 1 - 1
contrib/mkimage-yum.sh

@@ -18,7 +18,7 @@ OPTIONS:
   -y <yumconf>     The path to the yum config to install packages from. The
                    default is /etc/yum.conf for Centos/RHEL and /etc/dnf/dnf.conf for Fedora
   -t <tag>         Specify Tag information.
-                   default is reffered at /etc/{redhat,system}-release
+                   default is referred at /etc/{redhat,system}-release
 EOOPTS
 	exit 1
 }