Skip to content

Commit

Permalink
Simplify development setup
Browse files Browse the repository at this point in the history
No longer need ymattw/ydiff-dev docker image.
  • Loading branch information
ymattw committed Jun 23, 2024
1 parent e895288 commit 224bb6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
6 changes: 0 additions & 6 deletions Dockerfile

This file was deleted.

13 changes: 4 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:

0 comments on commit 224bb6c

Please sign in to comment.