Commit 093e90e9 authored by wangpeng's avatar wangpeng

解决apt-get key

parent fc9186b7
...@@ -8,7 +8,7 @@ WORKDIR /root/.ssh/ ...@@ -8,7 +8,7 @@ WORKDIR /root/.ssh/
ADD ssh/id_rsa . ADD ssh/id_rsa .
#ADD ./sources.list /etc/apt/sources.list ADD ./sources.list /etc/apt/sources.list
WORKDIR /srv/apps/physical/ WORKDIR /srv/apps/physical/
...@@ -16,7 +16,8 @@ RUN chmod -R 600 /root/.ssh/id_rsa \ ...@@ -16,7 +16,8 @@ RUN chmod -R 600 /root/.ssh/id_rsa \
&& echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config \ && echo "StrictHostKeyChecking no" >> /etc/ssh/ssh_config \
&& mkdir -p /data/log/physical/app && mkdir -p /data/log/physical/app
RUN apt-get -y update && apt-get -y install libmariadb-dev-compat libmariadb-dev \ RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32 \
&& apt-get -y update && apt-get -y install mysql-client libmysqlclient-dev \
&& apt-get clean \ && apt-get clean \
&& apt-get autoclean \ && apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment