Skip to content

Instantly share code, notes, and snippets.

@alexellis
Last active September 5, 2017 19:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexellis/8ebdb774bf062d22e1a5b83172b161ca to your computer and use it in GitHub Desktop.
Save alexellis/8ebdb774bf062d22e1a5b83172b161ca to your computer and use it in GitHub Desktop.
IPCONFIG.exe as a function
FROM microsoft/nanoserver:latest
ADD https://github.com/alexellis/faas/releases/download/0.6.4/fwatchdog.exe fwatchdog.exe
ENV fprocess="ipconfig.exe"
CMD ["./fwatchdog.exe"]
provider:
name: faas
gateway: http://localhost:8080
functions:
ipconfig:
skip_build: true
image: alexellis/windows-ipconfig
environment:
suppress_lock: true
constraints:
- "node.platform.os == windows"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment