Commit 8624562f authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

Dockerfiles not ignored anymore

parent 4dee623e
from python:2.7-onbuild
RUN pip install .
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", ""]
from python:3.4-onbuild
RUN pip install .
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", ""]
...@@ -8,6 +8,7 @@ VERSION=$(shell cat $(NAME)/VERSION) ...@@ -8,6 +8,7 @@ VERSION=$(shell cat $(NAME)/VERSION)
all: build run all: build run
dockerfiles: $(addprefix Dockerfile-,$(PYVERSIONS)) dockerfiles: $(addprefix Dockerfile-,$(PYVERSIONS))
ln -s Dockerfile-{PYMAIN} Dockerfile
Dockerfile-%: Dockerfile.template Dockerfile-%: Dockerfile.template
sed "s/{{PYVERSION}}/$*/" Dockerfile.template > Dockerfile-$* sed "s/{{PYVERSION}}/$*/" Dockerfile.template > Dockerfile-$*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment