-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (16 loc) · 701 Bytes
/
Dockerfile
File metadata and controls
25 lines (16 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM harbor.haodai.net/base/alpine:3.7cgo
WORKDIR /app
MAINTAINER wenzhenglin(http://g.haodai.net/wenzhenglin/self-release.git)
RUN wget http://fs.haodai.net/soft/kubectl -O /bin/kubectl && \
wget http://fs.haodai.net/soft/helm-v2.14.3 -O /bin/helm && \
chmod +x /bin/kubectl /bin/helm && \
wget -O - http://fs.haodai.net/k8s/v1.14/addkubeconfig.sh | sh
COPY self-release /app
# box path need to be this place
COPY web /home/wen/gocode/src/wen/self-release/web
# the following is for optional convenient
RUN ln -sf /home/wen/gocode/src/wen/self-release/web /app/web
# we use volume mount to create /app/projectlogs
CMD /app/self-release
ENTRYPOINT ["./self-release"]
# EXPOSE 8080