1
0
mirror of /repos/rpi-node.git synced 2026-02-26 17:32:01 +01:00

initial commit Node.js v0.10.36

This commit is contained in:
Dieter Reuter
2015-02-22 14:07:14 +01:00
parent 88a2b4ede3
commit 5b4ce02c35
3 changed files with 59 additions and 0 deletions

22
Makefile Normal file
View File

@@ -0,0 +1,22 @@
.PHONY: all build push test version
DOCKER_IMAGE_VERSION=0.10.36
DOCKER_IMAGE_NAME=hypriot/rpi-node
DOCKER_IMAGE_TAGNAME=$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_VERSION)
all: build
build:
docker build -t $(DOCKER_IMAGE_TAGNAME) .
docker tag -f $(DOCKER_IMAGE_TAGNAME) $(DOCKER_IMAGE_NAME):latest
push:
docker push $(DOCKER_IMAGE_NAME)
test:
docker run --rm $(DOCKER_IMAGE_TAGNAME) /bin/echo "Success."
version:
docker run --rm $(DOCKER_IMAGE_TAGNAME) node --version
docker run --rm $(DOCKER_IMAGE_TAGNAME) npm --version