Linux/alpine:修订间差异
来自康健生活
| 第65行: | 第65行: | ||
- frontend</pre>}} | - frontend</pre>}} | ||
== 源 == | |||
更换源。 | |||
{{Hc|dockerfile|<syntaxhighlight lang="dockerfile"> | |||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories</syntaxhighlight>}} | |||
== error == | == error == | ||
* <syntaxhighlight lang="javascript"> | * <syntaxhighlight lang="javascript"> | ||
| 第75行: | 第79行: | ||
sudo docker build -f ./deploy/DockerfileNginx -t test-qfonts-backend . --network=host | sudo docker build -f ./deploy/DockerfileNginx -t test-qfonts-backend . --network=host | ||
</syntaxhighlight>|$|/home/kangkk}} | </syntaxhighlight>|$|/home/kangkk}} | ||
* <syntaxhighlight lang="javascript"> | |||
ERROR: unable to select packages: | |||
nodejs-12.22.6-r0: | |||
breaks: world[nodejs=16.14.2-r0] | |||
The command '/bin/sh -c apk add nodejs=16.14.2-r0' returned a non-zero code: 1</syntaxhighlight> | |||
== 参考 == | == 参考 == | ||
https://pkgs.alpinelinux.org/packages | https://pkgs.alpinelinux.org/packages | ||