File: Makefile

package info (click to toggle)
python-falcon 4.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,172 kB
  • sloc: python: 33,608; javascript: 92; sh: 50; makefile: 50
file content (17 lines) | stat: -rw-r--r-- 835 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FALCON_VERSION=$(shell sudo docker run -it falconry/falcon-bench:py3 python3 -c 'import falcon; import sys; sys.stdout.write(falcon.__version__)')

all: build-benchmark-images

build-benchmark-images:
	sudo docker pull python:3.8-slim
	sudo docker pull python:3.8
	sudo docker pull pypy:3-slim

	sudo docker build --no-cache -t falconry/falcon-bench:${FALCON_VERSION}-py310 -f bench_py3.Dockerfile ./
	sudo docker build --no-cache -t falconry/falcon-bench:${FALCON_VERSION}-py310-cython -f bench_py3_cython.Dockerfile ./
	sudo docker build --no-cache -t falconry/falcon-bench:${FALCON_VERSION}-pypy3 -f bench_pypy3.Dockerfile ./

push:
	sudo docker push falconry/falcon-bench:${FALCON_VERSION}-py310
	sudo docker push falconry/falcon-bench:${FALCON_VERSION}-py310-cython
	sudo docker push falconry/falcon-bench:${FALCON_VERSION}-pypy3