diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 1d99fde..0000000 --- a/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM python:3-alpine3.19 - -COPY requirements-dev.txt /tmp/ - -RUN apk add --no-cache bash git less make && \ - python3 -m pip install -r /tmp/requirements-dev.txt diff --git a/Makefile b/Makefile index 5c01cc4..be5b06a 100644 --- a/Makefile +++ b/Makefile @@ -58,17 +58,12 @@ dist: clean build rm -f ~/.pypirc docker-test: - docker run -v $(shell pwd):$(shell pwd) -w $(shell pwd) --rm \ - ymattw/ydiff-dev make test - -docker-image: - docker build -t ymattw/ydiff-dev . - -docker-push-image: - docker push ymattw/ydiff-dev + docker run -v $(shell pwd):$(shell pwd) -w $(shell pwd) -t --rm \ + python:3-alpine /bin/sh -ec \ + 'apk add bash git less make; pip install -r requirements-dev.txt; make test' docker-shell: docker run -v $(shell pwd):$(shell pwd) -w $(shell pwd) -it --rm -P \ - ymattw/ydiff-dev /bin/bash + python:3-alpine /bin/sh # vim:set noet ts=8 sw=8: