[debian-mysql] Unable to locate package default-mysql-client
zhoujr01 at mingyuanyun.com
zhoujr01 at mingyuanyun.com
Thu Aug 18 07:03:17 BST 2022
this is my dockerfile
FROM mcr.microsoft.com/dotnet/aspnet:3.1
RUN ln -sf /usr/share/zoneinfo/Asia/ShangHai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata
RUN apt-get update
RUN apt-get -y install default-mysql-client
WORKDIR /app
COPY ./app /app
ENTRYPOINT ["dotnet","app.dll"]
running error
docker build -t sjzt/saasinstall:1.0.4.2 .
[+] Building 0.7s (10/12)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 32B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for mcr.microsoft.com/dotnet/aspnet:3.1 0.4s
=> [1/8] FROM mcr.microsoft.com/dotnet/aspnet:3.1 at sha256:ff64b110039e488fbf0851fc4754a3de6d1ece9d033bc652f4ee2b0 0.0s
=> => resolve mcr.microsoft.com/dotnet/aspnet:3.1 at sha256:ff64b110039e488fbf0851fc4754a3de6d1ece9d033bc652f4ee2b0 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 6.07kB 0.0s
=> CACHED [2/8] RUN ln -sf /usr/share/zoneinfo/Asia/ShangHai /etc/localtime 0.0s
=> CACHED [3/8] RUN echo "Asia/Shanghai" > /etc/timezone 0.0s
=> CACHED [4/8] RUN dpkg-reconfigure -f noninteractive tzdata 0.0s
=> CACHED [5/8] RUN apt-get update 0.0s
=> ERROR [6/8] RUN apt-get -y install default-mysql-client 0.2s
------
> [6/8] RUN apt-get -y install default-mysql-client:
#9 0.145 Reading package lists...
#9 0.149 Building dependency tree...
#9 0.149 Reading state information...
#9 0.149 E: Unable to locate package default-mysql-client
------
executor failed running [/bin/sh -c apt-get -y install default-mysql-client]: exit code: 100
how to fix them?
zhoujr01 at mingyuanyun.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-mysql-maint/attachments/20220818/87a048ef/attachment.htm>
More information about the pkg-mysql-maint
mailing list