Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
2150fc92
Commit
2150fc92
authored
Mar 31, 2016
by
Jack Greenfield
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #540 from jackgr/deployment
Revise apk package handling
parents
f4f28dd1
5a88138f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
18 deletions
+3
-18
Dockerfile
rootfs/expandybird/Dockerfile
+1
-12
Dockerfile
rootfs/manager/Dockerfile
+1
-3
Dockerfile
rootfs/resourcifier/Dockerfile
+1
-3
No files found.
rootfs/expandybird/Dockerfile
View file @
2150fc92
...
@@ -17,22 +17,11 @@ FROM alpine:3.3
...
@@ -17,22 +17,11 @@ FROM alpine:3.3
COPY
. /
COPY
. /
# install common packages
# install common packages
RUN
apk add
--update-cache
curl python
RUN
apk add
--no-cache
curl python py-pip
WORKDIR
/opt
# install pip
RUN
curl
-sSL
https://raw.githubusercontent.com/pypa/pip/7.1.2/contrib/get-pip.py | python -
# install dependencies
# install dependencies
RUN
pip
install
--disable-pip-version-check
--no-cache-dir
-r
/opt/expansion/requirements.txt
RUN
pip
install
--disable-pip-version-check
--no-cache-dir
-r
/opt/expansion/requirements.txt
# cleanup.
RUN
apk del
--purge
\
curl
\
python
\
&&
rm
-rf
/var/cache/apk/
*
# define execution environment
# define execution environment
CMD
["/bin/expandybird", "-expansion_binary", "/opt/expansion/expansion.py"]
CMD
["/bin/expandybird", "-expansion_binary", "/opt/expansion/expansion.py"]
EXPOSE
8000
EXPOSE
8000
rootfs/manager/Dockerfile
View file @
2150fc92
...
@@ -16,9 +16,7 @@ FROM alpine:3.3
...
@@ -16,9 +16,7 @@ FROM alpine:3.3
COPY
. /
COPY
. /
# Install CA certs
# Install CA certs
RUN
apk add
--update-cache
ca-certificates
RUN
apk add
--no-cache
ca-certificates
RUN
apk del
--purge
ca-certificates
\
&&
rm
-rf
/var/cache/apk/
*
EXPOSE
8080
EXPOSE
8080
CMD
["/bin/manager", "--kubectl=/bin/kubectl"]
CMD
["/bin/manager", "--kubectl=/bin/kubectl"]
rootfs/resourcifier/Dockerfile
View file @
2150fc92
...
@@ -16,9 +16,7 @@ FROM alpine:3.3
...
@@ -16,9 +16,7 @@ FROM alpine:3.3
COPY
. /
COPY
. /
# Install CA certs
# Install CA certs
RUN
apk add
--update-cache
ca-certificates
RUN
apk add
--no-cache
ca-certificates
RUN
apk del
--purge
ca-certificates
\
&&
rm
-rf
/var/cache/apk/
*
EXPOSE
8080
EXPOSE
8080
CMD
["/bin/resourcifier", "--kubectl=/bin/kubectl"]
CMD
["/bin/resourcifier", "--kubectl=/bin/kubectl"]
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