我正在尝试创建基于 的 docker 映像alpine:3.7,但是在使用apk add.
例子:
ERROR: unsatisfiable constraints:
  apache2-suexec (missing):
    required by: world[apache2-suexec-custom]
  host (missing):
    required by: world[host]
  lpr (missing):
    required by: world[lpr]
  time (missing):
    required by: world[time]
Run Code Online (Sandbox Code Playgroud)
原因是这些包在 alpine 存储库中还不存在。我该如何解决这些问题?有没有我可以下载它们的存储库?
我正在使用这条线
FROM alpine:3.7
RUN apk update \
    && apk upgrade \
    && apk --no-cache add --update tcl apache2 apache2-suexec ca-certificates \ 
    apk-tools curl build-base supervisor lpr time dcron host rsync libxml2-utils libxslt
Run Code Online (Sandbox Code Playgroud)