mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 08:12:27 +00:00
Dockerfiles not ignored anymore
This commit is contained in:
parent
4dee623ef9
commit
8624562f02
5
Dockerfile-2.7
Normal file
5
Dockerfile-2.7
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from python:2.7-onbuild
|
||||||
|
|
||||||
|
RUN pip install .
|
||||||
|
|
||||||
|
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]
|
5
Dockerfile-3.4
Normal file
5
Dockerfile-3.4
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from python:3.4-onbuild
|
||||||
|
|
||||||
|
RUN pip install .
|
||||||
|
|
||||||
|
ENTRYPOINT ["python", "-m", "senpy", "-f", ".", "--host", "0.0.0.0"]
|
1
Makefile
1
Makefile
@ -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-$*
|
||||||
|
Loading…
Reference in New Issue
Block a user