Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qg-dockerfiles
Commits
210745e6
Commit
210745e6
authored
Jun 14, 2019
by
kewei.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉vim
parent
29609a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Dockerfile
tke/java/Dockerfile
+5
-1
Dockerfile
tke/python2/Dockerfile
+1
-4
No files found.
tke/java/Dockerfile
View file @
210745e6
...
@@ -13,7 +13,11 @@ ARG BUILD_SCHEMA
...
@@ -13,7 +13,11 @@ ARG BUILD_SCHEMA
ENV
SYSTEM_NAME=$SYSTEM_NAME \
ENV
SYSTEM_NAME=$SYSTEM_NAME \
BUILD_SCHEMA=$BUILD_SCHEMA
BUILD_SCHEMA=$BUILD_SCHEMA
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
&&
\
# vi to vim
apk add --no-cache vim && \
rm -rf /usr/bin/vi && \
ln -s /usr/bin/vim /usr/bin/vi
COPY
docker-entrypoint.sh .
COPY
docker-entrypoint.sh .
COPY
readyCheck.sh .
COPY
readyCheck.sh .
...
...
tke/python2/Dockerfile
View file @
210745e6
...
@@ -15,10 +15,7 @@ ARG SYSTEM_NAME
...
@@ -15,10 +15,7 @@ ARG SYSTEM_NAME
ENV
BUILD_SCHEMA=$BUILD_SCHEMA
ENV
BUILD_SCHEMA=$BUILD_SCHEMA
ENV
SYSTEM_NAME=$SYSTEM_NAME
ENV
SYSTEM_NAME=$SYSTEM_NAME
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
&&
\
RUN
echo
-e
"
${
BUILD_SCHEMA
//@/\n
}
"
>>
./build_info
apk add
--no-cache
vim
&&
\
rm
-rf
/usr/bin/vi
&&
\
ln
-s
/usr/bin/vim /usr/bin/vi
COPY
docker-entrypoint.sh .
COPY
docker-entrypoint.sh .
COPY
dist.tgz ./project/dist.tgz
COPY
dist.tgz ./project/dist.tgz
...
...
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