forked from openai/universe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (21 loc) · 828 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
upload:
rm -rf dist
python setup.py sdist
twine upload dist/*
test:
find . -name '*.pyc' -delete
docker build -f test.dockerfile -t quay.io/openai/universe:test .
docker run -v /usr/bin/docker:/usr/bin/docker -v /root/.docker:/root/.docker -v /var/run/docker.sock:/var/run/docker.sock --net=host quay.io/openai/universe:test
build:
find . -name '*.pyc' -delete
docker build -t quay.io/openai/universe .
docker build -f test.dockerfile -t quay.io/openai/universe:test .
push:
find . -name '*.pyc' -delete
docker build -t quay.io/openai/universe .
docker build -f test.dockerfile -t quay.io/openai/universe:test .
docker push quay.io/openai/universe
docker push quay.io/openai/universe:test
test-push:
docker build -f test.dockerfile -t quay.io/openai/universe:test .
docker push quay.io/openai/universe:test