From 9efa8b3500f43524d705cd703dac5ea5944b8ef6 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Tue, 1 Mar 2022 14:26:35 +0800 Subject: [PATCH] all: fix typos Signed-off-by: cuishuang --- Dockerfile | 4 ++-- contrib/download-frozen-image-v2.sh | 2 +- contrib/mkimage-yum.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9a24055c73..2ff84bfb56 100644 --- a/Dockerfile +++ b/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-, 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 \ diff --git a/contrib/download-frozen-image-v2.sh b/contrib/download-frozen-image-v2.sh index 27a9b6c44b..b5e05b181a 100755 --- a/contrib/download-frozen-image-v2.sh +++ b/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 ;; *) diff --git a/contrib/mkimage-yum.sh b/contrib/mkimage-yum.sh index f36c82fbfe..42b9581cb3 100755 --- a/contrib/mkimage-yum.sh +++ b/contrib/mkimage-yum.sh @@ -18,7 +18,7 @@ OPTIONS: -y 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 Specify Tag information. - default is reffered at /etc/{redhat,system}-release + default is referred at /etc/{redhat,system}-release EOOPTS exit 1 }