25 lines
461 B
Makefile
25 lines
461 B
Makefile
|
.PHONY: install test
|
||
|
|
||
|
install:
|
||
|
pip install -r requirements.txt
|
||
|
|
||
|
base:
|
||
|
docker pull ubuntu:14.04
|
||
|
docker tag ubuntu:14.04 quay.io/openai/gym:base
|
||
|
docker push quay.io/openai/gym:base
|
||
|
|
||
|
test:
|
||
|
docker build -f test.dockerfile -t quay.io/openai/gym:test .
|
||
|
docker push quay.io/openai/gym:test
|
||
|
|
||
|
upload:
|
||
|
rm -rf dist
|
||
|
python setup.py sdist
|
||
|
twine upload dist/*
|
||
|
|
||
|
docker-build:
|
||
|
docker build -t quay.io/openai/gym .
|
||
|
|
||
|
docker-run:
|
||
|
docker run -ti quay.io/openai/gym bash
|