all: fix typos
Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
parent
d809ad98e3
commit
9efa8b3500
3 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ WORKDIR /go/src/github.com/docker/distribution
|
||||||
# the version specified here should match a current release.
|
# the version specified here should match a current release.
|
||||||
ARG REGISTRY_VERSION=v2.3.0
|
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
|
# 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
|
# 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
|
# 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
|
FROM --platform=linux/amd64 runtime-dev-cross-false AS runtime-dev-cross-true
|
||||||
ARG DEBIAN_FRONTEND
|
ARG DEBIAN_FRONTEND
|
||||||
# These crossbuild packages rely on gcc-<arch>, but this doesn't want to install
|
# 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 \
|
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 \
|
--mount=type=cache,sharing=locked,id=moby-cross-true-aptcache,target=/var/cache/apt \
|
||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|
|
@ -245,7 +245,7 @@ get_target_arch() {
|
||||||
;;
|
;;
|
||||||
mips*)
|
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 "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
|
exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -18,7 +18,7 @@ OPTIONS:
|
||||||
-y <yumconf> The path to the yum config to install packages from. The
|
-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
|
default is /etc/yum.conf for Centos/RHEL and /etc/dnf/dnf.conf for Fedora
|
||||||
-t <tag> Specify Tag information.
|
-t <tag> Specify Tag information.
|
||||||
default is reffered at /etc/{redhat,system}-release
|
default is referred at /etc/{redhat,system}-release
|
||||||
EOOPTS
|
EOOPTS
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue