Skip to content

Commit d30735e

Browse files
committed
Create Faas Dockerfile
1 parent 095f301 commit d30735e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

faas-netes/Dockerfile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM ubuntu:14.04
2+
MAINTAINER Danny,Ho <[email protected]>
3+
RUN apt-get update
4+
RUN apt-get -y install \
5+
git
6+
RUN sed -e '1 a/ $(whoami)' /etc/hosts
7+
RUN git clone https://github.com/alexellis/faas-netes
8+
WORKDIR faas-netes
9+
RUN kubectl apply -f ./faas.yml,monitoring.yml,rbac.yml
10+
#COPY docker-entrypoint.sh /usr/local/bin/
11+
#RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh
12+
#ENTRYPOINT sh entrypoint.sh && bash
13+
EXPOSE 31112 31119

faas-netes/docker-entrypoint.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#!/bin/bash

0 commit comments

Comments
 (0)