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
aa04fe20
Commit
aa04fe20
authored
Oct 02, 2017
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix no 'ps -p' option available when running with alpine
parent
c62f807e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
21 deletions
+23
-21
Dockerfile
apollo-adminservice/src/main/docker/Dockerfile
+7
-7
Dockerfile
apollo-configservice/src/main/docker/Dockerfile
+7
-7
Dockerfile
apollo-portal/src/main/docker/Dockerfile
+9
-7
No files found.
apollo-adminservice/src/main/docker/Dockerfile
View file @
aa04fe20
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
# Build with:
# Build with:
# docker build -t apollo-adminservice .
# docker build -t apollo-adminservice .
# Run with:
# Run with:
# docker run -p 8090:8090 -d --name apollo-adminservice apollo-adminservice
# docker run -p 8090:8090 -d -
v /tmp/logs:/opt/logs -
-name apollo-adminservice apollo-adminservice
FROM
openjdk:8-jre-
alpine
FROM
openjdk:8-jre-
slim
MAINTAINER
ameizi <sxyx2008@163.com>
MAINTAINER
ameizi <sxyx2008@163.com>
ENV
VERSION 0.
8.0
ENV
VERSION 0.
9.0-SNAPSHOT
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositorie
s
\
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommend
s
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositorie
s
\
procp
s
\
&&
apk update upgrade
\
curl
\
&&
apk add
--no-cache
unzip curl bash tzdata
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
&&
echo
"Asia/Shanghai"
>
/etc/timezone
...
...
apollo-configservice/src/main/docker/Dockerfile
View file @
aa04fe20
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
# Build with:
# Build with:
# docker build -t apollo-configservice .
# docker build -t apollo-configservice .
# Run with:
# Run with:
# docker run -p 8080:8080 -d --name apollo-configservice apollo-configservice
# docker run -p 8080:8080 -d -
v /tmp/logs:/opt/logs -
-name apollo-configservice apollo-configservice
FROM
openjdk:8-jre-
alpine
FROM
openjdk:8-jre-
slim
MAINTAINER
ameizi <sxyx2008@163.com>
MAINTAINER
ameizi <sxyx2008@163.com>
ENV
VERSION 0.
8.0
ENV
VERSION 0.
9.0-SNAPSHOT
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositorie
s
\
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommend
s
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositorie
s
\
procp
s
\
&&
apk update upgrade
\
curl
\
&&
apk add
--no-cache
unzip curl bash tzdata
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
&&
echo
"Asia/Shanghai"
>
/etc/timezone
...
...
apollo-portal/src/main/docker/Dockerfile
View file @
aa04fe20
...
@@ -2,17 +2,19 @@
...
@@ -2,17 +2,19 @@
# Build with:
# Build with:
# docker build -t apollo-portal .
# docker build -t apollo-portal .
# Run with:
# Run with:
# docker run -p 9090:8080 -d --name apollo-portal apollo-portal
# docker run -p 8080:8080 -d -v /tmp/logs:/opt/logs --name apollo-portal apollo-portal
# 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-
alpine
FROM
openjdk:8-jre-
slim
MAINTAINER
ameizi <sxyx2008@163.com>
MAINTAINER
ameizi <sxyx2008@163.com>
ENV
VERSION 0.
8.0
ENV
VERSION 0.
9.0-SNAPSHOT
RUN
echo
"http://mirrors.aliyun.com/alpine/v3.6/main"
>
/etc/apk/repositorie
s
\
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommend
s
\
&&
echo
"http://mirrors.aliyun.com/alpine/v3.6/community"
>>
/etc/apk/repositorie
s
\
procp
s
\
&&
apk update upgrade
\
curl
\
&&
apk add
--no-cache
unzip curl bash tzdata
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
ln
-sf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
\
&&
echo
"Asia/Shanghai"
>
/etc/timezone
&&
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