Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
physical
Commits
093e90e9
Commit
093e90e9
authored
Aug 08, 2019
by
wangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决apt-get key
parent
fc9186b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Dockerfile
Dockerfile
+3
-2
No files found.
Dockerfile
View file @
093e90e9
...
@@ -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/
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment