Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
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
openSource
apollo
Commits
e00a6ca9
Commit
e00a6ca9
authored
Oct 06, 2017
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prefer alpine
parent
9a706e13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
Dockerfile
apollo-adminservice/src/main/docker/Dockerfile
+5
-5
Dockerfile
apollo-configservice/src/main/docker/Dockerfile
+5
-5
Dockerfile
apollo-portal/src/main/docker/Dockerfile
+5
-5
No files found.
apollo-adminservice/src/main/docker/Dockerfile
View file @
e00a6ca9
...
...
@@ -4,15 +4,15 @@
# Run with:
# docker run -p 8090:8090 -d -v /tmp/logs:/opt/logs --name apollo-adminservice apollo-adminservice
FROM
openjdk:8-jre-
slim
FROM
openjdk:8-jre-
alpine
MAINTAINER
ameizi <sxyx2008@163.com>
ENV
VERSION 0.9.0-SNAPSHOT
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommend
s
\
procp
s
\
curl
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositorie
s
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositorie
s
\
&&
apk update upgrade
\
&&
apk add
--no-cache
procps unzip curl bash tzdata
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
...
...
apollo-configservice/src/main/docker/Dockerfile
View file @
e00a6ca9
...
...
@@ -4,15 +4,15 @@
# Run with:
# docker run -p 8080:8080 -d -v /tmp/logs:/opt/logs --name apollo-configservice apollo-configservice
FROM
openjdk:8-jre-
slim
FROM
openjdk:8-jre-
alpine
MAINTAINER
ameizi <sxyx2008@163.com>
ENV
VERSION 0.9.0-SNAPSHOT
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommend
s
\
procp
s
\
curl
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositorie
s
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositorie
s
\
&&
apk update upgrade
\
&&
apk add
--no-cache
procps unzip curl bash tzdata
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
...
...
apollo-portal/src/main/docker/Dockerfile
View file @
e00a6ca9
...
...
@@ -6,15 +6,15 @@
# Or if 8080 was taken:
# docker run -p 8070:8080 -d -v /tmp/logs:/opt/logs --name apollo-portal apollo-portal
FROM
openjdk:8-jre-
slim
FROM
openjdk:8-jre-
alpine
MAINTAINER
ameizi <sxyx2008@163.com>
ENV
VERSION 0.9.0-SNAPSHOT
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommend
s
\
procp
s
\
curl
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositorie
s
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositorie
s
\
&&
apk update upgrade
\
&&
apk add
--no-cache
procps unzip curl bash tzdata
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
...
...
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