Coder Social home page Coder Social logo

node10-express-service's People

Contributors

alexellis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node10-express-service's Issues

Container does not build

➜ faas template pull https://github.com/openfaas-incubator/node10-express-service
Fetch templates from repository: https://github.com/openfaas-incubator/node10-express-service at master
2019/06/25 21:34:07 Attempting to expand templates from https://github.com/openfaas-incubator/node10-express-service
2019/06/25 21:34:08 Fetched 1 template(s) : [node10-express-service] from https://github.com/openfaas-incubator/node10-express-service
➜ faas new --lang node10-express-service microservice1 --prefix="phumberdroz"
Folder: microservice1 created.
  ___                   _____           ____
 / _ \ _ __   ___ _ __ |  ___|_ _  __ _/ ___|
| | | | '_ \ / _ \ '_ \| |_ / _` |/ _` \___ \
| |_| | |_) |  __/ | | |  _| (_| | (_| |___) |
 \___/| .__/ \___|_| |_|_|  \__,_|\__,_|____/
      |_|


Function created in folder: microservice1
Stack file written: microservice1.yml


functions on  master [!?] at ☸️  do-fra1-helm-notifier (openfaas-fn)
➜ faas up -f microservice1.yml
[0] > Building microservice1.
Clearing temporary build folder: ./build/microservice1/
Preparing ./microservice1/ ./build/microservice1//function
Building: phumberdroz/microservice1:latest with node10-express-service template. Please wait..
Sending build context to Docker daemon  9.728kB
Step 1/29 : FROM openfaas/of-watchdog:0.5.3 as watchdog
 ---> 4ff06209ff8b
Step 2/29 : FROM node:10.12.0-alpine as ship
 ---> 7ca2f9cb5536
Step 3/29 : COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
 ---> Using cache
 ---> 9a6a558666f9
Step 4/29 : RUN chmod +x /usr/bin/fwatchdog
 ---> Using cache
 ---> 1659076a5736
Step 5/29 : RUN addgroup -S app && adduser -S -g app app
 ---> Using cache
 ---> dc3d23ef6262
Step 6/29 : RUN apk --no-cache add ca-certificates     && apk del curl
 ---> Running in 6b5a953a1b72
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/1) Installing ca-certificates (20190108-r0)
Executing busybox-1.28.4-r1.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 7 MiB in 16 packages
WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.efaa1f73.tar.gz: No such file or directory
The command '/bin/sh -c apk --no-cache add ca-certificates     && apk del curl' returned a non-zero code: 1
2019/06/25 21:34:17 ERROR - Could not execute command: [docker build -t phumberdroz/microservice1:latest .]

removing && apk del curl makes the faas up command working again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.