Skip to content
Snippets Groups Projects
Commit ebf74272 authored by Alex Ellis's avatar Alex Ellis
Browse files

Move MarkdownRender to new namespace

parent 65ae7b3e
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,19 @@ services:
placement:
constraints: [node.role == manager]
# Sample functions go here.
# sample functions go here, but can be created in the UI too.
nodeinfo:
image: functions/nodeinfo:latest-armhf
labels:
function: "true"
depends_on:
- gateway
networks:
- functions
environment:
no_proxy: "gateway"
https_proxy: $https_proxy
wordcount:
image: functions/alpine:latest-armhf
labels:
......
app
FROM alexellis2/alexellis2/go-armhf:1.7.4
FROM alexellis2/go-armhf:1.7.4
RUN mkdir -p /go/src/app
COPY handler.go /go/src/app
......
File deleted
#!/bin/sh
echo Building alexellis2/faas-markdownrender:build-armhf
echo Building functions/markdownrender:build-armhf
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t alexellis2/faas-markdownrender:build-armhf \
-t functions/markdownrender:build-armhf \
. -f Dockerfile.build.armhf
docker create --name render_extract alexellis2/faas-markdownrender:build-armhf
docker create --name render_extract functions/markdownrender:build-armhf
docker cp render_extract:/go/src/app/app ./app
docker rm -f render_extract
echo Building alexellis2/faas-markdownrender:latest-armhf
docker build --no-cache -t alexellis2/faas-markdownrender:latest-armhf .\
echo Building functions/markdownrender:latest-armhf
docker build --no-cache -t functions/markdownrender:latest-armhf .\
-f Dockerfile.armhf
#!/bin/sh
echo Building alexellis2/faas-markdownrender:build
echo Building functions/markdownrender:build
docker build --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy \
-t alexellis2/faas-markdownrender . -f Dockerfile.build
-t functions/markdownrender . -f Dockerfile.build
docker create --name render_extract alexellis2/faas-markdownrender
docker create --name render_extract functions/markdownrender
docker cp render_extract:/go/src/app/app ./app
docker rm -f render_extract
echo Building alexellis2/faas-markdownrender:latest
docker build --no-cache -t alexellis2/faas-markdownrender:latest .
echo Building functions/markdownrender:latest
docker build --no-cache -t functions/markdownrender:latest .
#!/bin/bash
docker build -t alexellis2/faas-nodeinfo .
docker build -t functions/nodeinfo .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment